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

public class JaloBusinessException extends Exception
Superclass of all business exceptions.
See Also:
  • Constructor Details

    • JaloBusinessException

      public JaloBusinessException(Throwable nested, String message, int errorCode)
      Creates a new business exception.
      Parameters:
      nested - cause exception
      message - error message
      errorCode - related error code
    • JaloBusinessException

      public JaloBusinessException(String message, int errorCode)
      Creates a new business exception.
      Parameters:
      message - error message
      errorCode - related error code
    • JaloBusinessException

      public JaloBusinessException(Throwable nested, int errorCode)
      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 exception
      errorCode - a unique exception code
    • JaloBusinessException

      public JaloBusinessException(Throwable nested)
      Creates a new business exception.
      Parameters:
      nested - the exception that caused this exception
    • JaloBusinessException

      public JaloBusinessException(String message)
      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", forRemoval=false) public Throwable getThrowable()
      Deprecated.
      since ages - useThrowable.getCause() instead
    • toString

      public String toString()
      Adds the error code of this exception to the output string.
      Overrides:
      toString in class Throwable