Class CoreBaseRuntimeException

    • 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 final MessageList messageList
        Container for messages.
    • Constructor Detail

      • CoreBaseRuntimeException

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

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

        public CoreBaseRuntimeException​(java.lang.String message,
                                        java.lang.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,
                                        java.lang.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,
                                        java.lang.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 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.