public class BSFException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
REASON_EXECUTION_ERROR |
static int |
REASON_INVALID_ARGUMENT |
static int |
REASON_IO_ERROR |
static int |
REASON_OTHER_ERROR |
static int |
REASON_UNKNOWN_LANGUAGE |
static int |
REASON_UNSUPPORTED_FEATURE |
| Constructor and Description |
|---|
BSFException(int reason,
java.lang.String msg) |
BSFException(int reason,
java.lang.String msg,
java.lang.Throwable t) |
BSFException(java.lang.String msg) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
int |
getReason() |
java.lang.Throwable |
getTargetException() |
void |
printStackTrace() |
public static final int REASON_INVALID_ARGUMENT
public static final int REASON_IO_ERROR
public static final int REASON_UNKNOWN_LANGUAGE
public static final int REASON_EXECUTION_ERROR
public static final int REASON_UNSUPPORTED_FEATURE
public static final int REASON_OTHER_ERROR
public BSFException(int reason,
java.lang.String msg)
public BSFException(int reason,
java.lang.String msg,
java.lang.Throwable t)
public BSFException(java.lang.String msg)
public int getReason()
public java.lang.Throwable getTargetException()
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwable