Package de.hybris.platform.jalo
Class JaloSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.jalo.JaloSystemException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AutomatedWorkflowActionException,CannotDecodePasswordException,ConnectionLostException,EJBInternalException,ExtensionNotFoundException,FlexibleSearchException,HMCSystemException,Item.JaloCachedComputationException,ItemCloneCreator.CannotCloneException,JaloInternalException,JaloInvalidParameterException,JaloItemNotFoundException,JaloNotYetCalculatedException,JaloObjectNoLongerValidException,JaloSystemNotInitializedException,MaxDOPWrongValueException,PasswordEncoderNotFoundException,PromotionException,RelationQueryException,RuntimeSQLException,SessionClosedException,TransformerException,WorkflowActionDecideException,WorkflowTerminatedException
Superclass of all system exceptions.
All exceptions that inherits from JaloSystemException are Runtime exceptions and must not be caught.
All exceptions that inherits from JaloSystemException are Runtime exceptions and must not be caught.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJaloSystemException(String message) Creates a new system exception.JaloSystemException(String message, int errorCode) Creates a new system exception.JaloSystemException(Throwable nested) Creates a new system exception.JaloSystemException(Throwable nested, int errorCode) Creates a new system exception with a nested exception.JaloSystemException(Throwable nested, String message, int errorCode) Creates a new system exception. -
Method Summary
Modifier and TypeMethodDescriptionintGets the error code of this exception.Deprecated.toString()Method toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
JaloSystemException
Creates a new system exception.- Parameters:
nested- the nested throwablemessage- the error messageerrorCode- the related error code
-
JaloSystemException
Creates a new system exception.- Parameters:
message- the error messageerrorCode- the related error code
-
JaloSystemException
Creates a new system exception with a nested exception. The new exception's message will be the same as that of the nested exception.- Parameters:
nested- the exception that caused this exceptionerrorCode- a unique exception code
-
JaloSystemException
Creates a new system exception.- Parameters:
nested- the exception that caused this exception
-
JaloSystemException
Creates a new system exception.- Parameters:
message- the error message
-
-
Method Details
-
getErrorCode
public int getErrorCode()Gets the error code of this exception.- Returns:
- related error code
-
getThrowable
Deprecated.since ages - useThrowable.getCause()instead -
toString
Method toString
-
Throwable.getCause()instead