Package de.hybris.platform.jalo
Class JaloBusinessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.jalo.JaloBusinessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CockpitBusinessException,ConsistencyCheckException,EJBCannotDecodePasswordException,EJBInvalidParameterException,EJBItemNotFoundException,EJBMissingResourceException,EJBPasswordEncoderNotFoundException,EJBPriceFactoryException,EJBSecurityException,EJBTypecodeNotSupportedException,EJBTypeException,ImpExException,JaloConnectException,JaloDeliveryModeException,JaloPaymentModeException,JaloPriceFactoryException,JaloSecurityException,JaloTypeException,LDAPException
Superclass of all business exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJaloBusinessException(String message) Creates a new business exception.JaloBusinessException(String message, int errorCode) Creates a new business exception.JaloBusinessException(Throwable nested) Creates a new business exception.JaloBusinessException(Throwable nested, int errorCode) Creates a new business exception with a nested exception.JaloBusinessException(Throwable nested, String message, int errorCode) Creates a new business exception. -
Method Summary
Modifier and TypeMethodDescriptionintGets the error code of this exception.Deprecated.toString()Adds the error code of this exception to the output string.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
JaloBusinessException
Creates a new business exception.- Parameters:
nested- cause exceptionmessage- error messageerrorCode- related error code
-
JaloBusinessException
Creates a new business exception.- Parameters:
message- error messageerrorCode- related error code
-
JaloBusinessException
Creates a new business 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
-
JaloBusinessException
Creates a new business exception.- Parameters:
nested- the exception that caused this exception
-
JaloBusinessException
Creates a new business exception.- Parameters:
message- 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
Adds the error code of this exception to the output string.
-
Throwable.getCause()instead