Errors and Exceptions in Jython
Welcome to Jython4wsadmin blog!! This post is intended to collect all Errors and Exceptions that can occur when you work on WebSphere administration using wsadmin scripting. As you are aware that Jython is inherited from Python. We can categories the Errors and Exceptions as per their inheriting languages.    Errors defined in Python  Exception from Java  Script based Exceptions depends on WASXShell    When you start woking on the WebSphere Admin scripts you might encounter many types of Errors and Exceptions. Here you must focus on Python based Errors to make syntatic correct code.     wsadmin>execfile('/home/krish/jython/while.py')  WASX7015E: Exception running command: "execfile('/home/krish/jython/while.py')"; exception information:  com.ibm.bsf.BSFException: exception from Jython:  Traceback (innermost last):    File "<input>", line 1, in ?    File "/home/krish/jython/while.py", line 11          while x>=0          ...