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:
java.io.Serializable
- Direct Known Subclasses:
AutomatedWorkflowActionException
,CannotDecodePasswordException
,ConnectionLostException
,EJBInternalException
,ExtensionNotFoundException
,FlexibleSearchException
,HMCSystemException
,Item.JaloCachedComputationException
,ItemCloneCreator.CannotCloneException
,JaloInternalException
,JaloInvalidParameterException
,JaloItemNotFoundException
,JaloNotYetCalculatedException
,JaloObjectNoLongerValidException
,JaloSystemNotInitializedException
,PasswordEncoderNotFoundException
,PromotionException
,RelationQueryException
,RuntimeSQLException
,SessionClosedException
,TransformerException
,WorkflowActionDecideException
,WorkflowTerminatedException
public class JaloSystemException extends java.lang.RuntimeException
Superclass of all system exceptions.
All exceptions that inherits from JaloSystemException are Runtime exceptions and must not be caught.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaloSystemException(java.lang.String message)
Creates a new system exception.JaloSystemException(java.lang.String message, int errorCode)
Creates a new system exception.JaloSystemException(java.lang.Throwable nested)
Creates a new system exception.JaloSystemException(java.lang.Throwable nested, int errorCode)
Creates a new system exception with a nested exception.JaloSystemException(java.lang.Throwable nested, java.lang.String message, int errorCode)
Creates a new system exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getErrorCode()
Gets the error code of this exception.java.lang.Throwable
getThrowable()
Deprecated.since ages - useThrowable.getCause()
insteadjava.lang.String
toString()
Method toString
-
-
-
Constructor Detail
-
JaloSystemException
public JaloSystemException(java.lang.Throwable nested, java.lang.String message, int errorCode)
Creates a new system exception.- Parameters:
nested
- the nested throwablemessage
- the error messageerrorCode
- the related error code
-
JaloSystemException
public JaloSystemException(java.lang.String message, int errorCode)
Creates a new system exception.- Parameters:
message
- the error messageerrorCode
- the related error code
-
JaloSystemException
public JaloSystemException(java.lang.Throwable nested, int errorCode)
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
public JaloSystemException(java.lang.Throwable nested)
Creates a new system exception.- Parameters:
nested
- the exception that caused this exception
-
JaloSystemException
public JaloSystemException(java.lang.String message)
Creates a new system exception.- Parameters:
message
- the error message
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
Gets the error code of this exception.- Returns:
- related error code
-
getThrowable
@Deprecated public java.lang.Throwable getThrowable()
Deprecated.since ages - useThrowable.getCause()
instead
-
toString
public java.lang.String toString()
Method toString- Overrides:
toString
in classjava.lang.Throwable
-
-