Class CoreBaseException

    • Constructor Summary

      Constructors 
      Constructor Description
      CoreBaseException()
      Standard constructor for CoreBaseException with no detail message.
      CoreBaseException​(Message message)
      Standard constructor for CoreBaseException using a message object see Message for details.
      CoreBaseException​(MessageList messageList)
      Standard constructor for CoreBaseException using message objects see MessageList for details.
      CoreBaseException​(MessageList messageList, java.lang.Throwable rootCause)
      Standard constructor for CoreBaseException using message objects see MessageList for details.
      CoreBaseException​(Message message, java.lang.Throwable rootCause)
      Standard constructor for CoreBaseException using a message object see Message for details.
      CoreBaseException​(java.lang.String message)
      Standard constructor for CoreBaseException with the specified detail message.
      CoreBaseException​(java.lang.String message, java.lang.Throwable rootCause)
      Standard constructor for CoreBaseException using a simple message text.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMessage​(Message message)
      Add a additional message to the exception.
      void clearMessages()
      Clears all messages in the message list.
      MessageList getMessageList()
      Returns the messages of the Business Object.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • messageList

        protected MessageList messageList
        Container for messages.
    • Constructor Detail

      • CoreBaseException

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

        public CoreBaseException​(java.lang.String message)
        Standard constructor for CoreBaseException with the specified detail message.
        Parameters:
        message - the detail message.
      • CoreBaseException

        public CoreBaseException​(java.lang.String message,
                                 java.lang.Throwable rootCause)
        Standard constructor for CoreBaseException using a simple message text.
        Parameters:
        message - message text.
        rootCause - exception which causes the exception
      • CoreBaseException

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

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

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

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

      • 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.