| java.lang.Object java.lang.Throwable java.lang.Exception org.ofbiz.base.util.GeneralException
All known Subclasses: org.ofbiz.workflow.definition.DefinitionParserException, org.ofbiz.order.thirdparty.taxware.TaxwareException, org.ofbiz.base.config.GenericConfigException, org.ofbiz.workflow.WfException, org.ofbiz.entity.GenericEntityException, org.ofbiz.service.job.JobManagerException, org.ofbiz.datafile.DataFileException, org.ofbiz.content.webapp.event.EventHandlerException, org.ofbiz.service.calendar.RecurrenceInfoException, org.ofbiz.entity.serialize.SerializeException, org.ofbiz.content.webapp.control.RequestHandlerException, org.ofbiz.service.GenericServiceException, org.ofbiz.service.calendar.RecurrenceRuleException, org.ofbiz.base.util.HttpClientException, org.ofbiz.minilang.MiniLangException, org.ofbiz.content.webapp.view.ViewHandlerException, org.ofbiz.order.shoppingcart.CartItemModifyException, org.ofbiz.security.SecurityConfigurationException,
GeneralException | public class GeneralException extends Exception (Code) | | Base OFBiz Exception, provides nested exceptions, etc
author: Andy Zeneski version: $Revision: 1.2 $ since: 1.0 |
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. |
GeneralException | public GeneralException()(Code) | | Creates new GeneralException without detail message.
|
GeneralException | public GeneralException(String msg)(Code) | | Constructs an GeneralException with the specified detail message.
Parameters: msg - the detail message. |
GeneralException | public GeneralException(String msg, Throwable nested)(Code) | | Constructs an GeneralException with the specified detail message and nested Exception.
Parameters: msg - the detail message. |
GeneralException | public GeneralException(Throwable nested)(Code) | | Constructs an GeneralException with the specified detail message and nested Exception.
Parameters: nested - 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.
|
|
|