| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.ofbiz.base.util.GeneralRuntimeException
GeneralRuntimeException | public class GeneralRuntimeException extends RuntimeException (Code) | | Base OFBiz Runtime Exception, provides nested exceptions, etc
|
Method Summary | |
public String | getMessage() Returns the detail message, including the message from the nested exception if there is one. | public Throwable | getNested() Returns the nested exception if there is one, null if there is not. | public String | getNonNestedMessage() Returns the detail message, NOT including the message from the nested exception. | public void | printStackTrace() Prints the composite message to System.err. | public void | printStackTrace(PrintStream ps) Prints the composite message and the embedded stack trace to the specified stream ps. | public void | printStackTrace(PrintWriter pw) Prints the composite message and the embedded stack trace to the specified print writer pw. |
GeneralRuntimeException | public GeneralRuntimeException()(Code) | | Creates new GeneralException without detail message.
|
GeneralRuntimeException | public GeneralRuntimeException(String msg)(Code) | | Constructs an GeneralException with the specified detail message.
Parameters: msg - the detail message. |
GeneralRuntimeException | public GeneralRuntimeException(Throwable nested)(Code) | | Constructs an GeneralException with a nested Exception.
Parameters: nested - the nested exception. |
GeneralRuntimeException | public GeneralRuntimeException(String msg, Throwable nested)(Code) | | Constructs an GeneralException with the specified detail message and nested Exception.
Parameters: msg - the detail message. |
getMessage | public String getMessage()(Code) | | Returns the detail message, including the message from the nested exception if there is one.
|
getNested | public Throwable getNested()(Code) | | Returns the nested exception if there is one, null if there is not.
|
getNonNestedMessage | public String getNonNestedMessage()(Code) | | Returns the detail message, NOT including the message from the nested exception.
|
printStackTrace | public void printStackTrace()(Code) | | Prints the composite message to System.err.
|
printStackTrace | public void printStackTrace(PrintStream ps)(Code) | | Prints the composite message and the embedded stack trace to the specified stream ps.
|
printStackTrace | public void printStackTrace(PrintWriter pw)(Code) | | Prints the composite message and the embedded stack trace to the specified print writer pw.
|
|
|