java.lang.Object
java.lang.Throwable
java.lang.Exception
com.orchestranetworks.addon.dama.ext.exception.DAMException
All Implemented Interfaces:
Serializable

public final class DAMException extends Exception
Defines the exception for the {addon.label}.
Since:
1.6.0
See Also:
  • Constructor Details

    • DAMException

      public DAMException(String message)
      Instantiates a new DAMException.
      Parameters:
      message - the message
    • DAMException

      public DAMException(com.onwbp.base.text.UserMessage message)
      Instantiates a new DAMException.
      Parameters:
      message - the message
    • DAMException

      public DAMException(Exception ex)
      Instantiates a new DAMException.
      Parameters:
      ex - the exception
  • Method Details

    • getUserMessage

      public com.onwbp.base.text.UserMessage getUserMessage()
      Returns the user message.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getMessage

      public String getMessage(Locale locale)
      Returns the message string by locale.
      Parameters:
      locale - the locale
      Returns:
      the message