Class BSFException

All Implemented Interfaces:
Serializable

public class BSFException extends Exception
If something goes wrong while doing some scripting stuff, one of these is thrown. The integer code indicates what's wrong and the message may give more details. The reason one exception with multiple meanings (via the code) [instead of multiple exception types] is used is due to the interest to keep the run-time size small.
Author:
Sanjiva Weerawarana
See Also:
  • Field Details

  • Constructor Details

    • BSFException

      public BSFException(int reason, String msg)
    • BSFException

      public BSFException(int reason, String msg, Throwable t)
    • BSFException

      public BSFException(String msg)
  • Method Details

    • getReason

      public int getReason()
    • getTargetException

      public Throwable getTargetException()
    • printStackTrace

      public void printStackTrace()
      Overrides:
      printStackTrace in class Throwable