Class CoreBaseRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
All Implemented Interfaces:
MessageListHolder, Serializable
Direct Known Subclasses:
ApplicationBaseRuntimeException, BackendRuntimeException, BORuntimeException, ConfigurationBaseRuntimeException

public class CoreBaseRuntimeException extends RuntimeException implements MessageListHolder
Core base runtime exception.
See Also:
  • Field Details

    • messageList

      protected final MessageList messageList
      Container for messages.
  • Constructor Details

    • CoreBaseRuntimeException

      public CoreBaseRuntimeException()
      Standard constructor for CoreBaseRuntimeException with no detail message.
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(String message)
      Standard constructor for CoreBaseRuntimeException with the specified detail message.
      Parameters:
      message - the detail message.
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(String message, Throwable rootCause)
      Standard constructor for CoreBaseRuntimeException with the specified detail message and root cause.
      Parameters:
      message - message text.
      rootCause - exception which causes the exception
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(Message message)
      Standard constructor for CoreBaseRuntimeException using a message object see Message for details.
      Parameters:
      message - message which identifies the error message.
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(Message message, Throwable rootCause)
      Standard constructor for CoreBaseRuntimeException using a message object see Message for details.
      Parameters:
      message - message object which identifies the error message.
      rootCause - exception which causes the exception
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(MessageList messageList, Throwable rootCause)
      Standard constructor for CoreBaseRuntimeException using message objects see MessageList for details.
      Parameters:
      messageList - list of message object which identifies the error message.
      rootCause - exception which causes the exception
    • CoreBaseRuntimeException

      public CoreBaseRuntimeException(MessageList messageList)
      Standard constructor for CoreBaseRuntimeException using message objects see MessageList for details.
      Parameters:
      messageList - list of message object which identifies the error message.
  • Method Details

    • addMessage

      public void addMessage(Message message)
      Add a additional message to the exception.
      Specified by:
      addMessage in interface MessageListHolder
      Parameters:
      message - message object which identifies the error message.
    • clearMessages

      public void clearMessages()
      Clears all messages in the message list.
      Specified by:
      clearMessages in interface MessageListHolder
    • getMessageList

      public MessageList getMessageList()
      Returns the messages of the Business Object.
      Specified by:
      getMessageList in interface MessageListHolder
      Returns:
      message list of the