| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException pnuts.lang.PnutsException
PnutsException | public class PnutsException extends RuntimeException (Code) | | This is a wrapper class for Exception to be thrown.
author: Toyokazu Tomatsu |
Inner Class :public static class TraceInfo | |
column | protected int column(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
PnutsException | public PnutsException()(Code) | | Constructor
|
PnutsException | public PnutsException(String msg)(Code) | | Constructor
Parameters: msg - the error message |
PnutsException | public PnutsException(String msg, Context context)(Code) | | Constructor
Parameters: msg - the error message Parameters: context - the context in which the error occurs |
PnutsException | public PnutsException(String key, Object param, Context context)(Code) | | This constructor creates a PnutsException using i18n resources in
pnuts.properties.
|
PnutsException | public PnutsException(String bundleName, String key, Object param, Context context)(Code) | | This constructor creates a PnutsException using i18n resources in
pnuts.properties.
|
PnutsException | public PnutsException(Throwable t, Context context)(Code) | | Constructor
Parameters: t - a Throwable Parameters: context - the context |
PnutsException | public PnutsException(Throwable t, Object operation, Context context)(Code) | | Constructor
Parameters: t - a Throwable Parameters: operation - a Method or a Constructor Parameters: context - the context |
backtrace | void backtrace(TraceInfo traceInfo)(Code) | | |
getBackTrace | public Enumeration getBackTrace()(Code) | | Returns an enumeration of PnutsException.TraceInfo objects
|
getColumn | public int getColumn()(Code) | | Returns the column number where the error occured.
-1: unknown
|
getLine | public int getLine()(Code) | | Returns the line number where the error occured.
|
getScriptSource | public Object getScriptSource()(Code) | | Returns the script source (usually a URL) where the error occured.
|
|
|