Class AssetException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssetIOException

public class AssetException extends RuntimeException
Exception facade for all Asset related exceptions.
See Also:
  • Constructor Details

    • AssetException

      public AssetException(String message)
    • AssetException

      public AssetException(String message, Object... params)
      This constructor initializes class members
      Parameters:
      message - Message string
      params - List of parameters to be incorporated in message string
    • AssetException

      public AssetException(String message, Throwable rootCause, Object... params)
      This constructor initializes class members
      Parameters:
      message - Message string
      rootCause - rootCause of Exception
      params - List of parameters to be incorporated in message string
    • AssetException

      public AssetException(Throwable rootCause)
    • AssetException

      public AssetException(String message, Throwable rootCause)
  • Method Details

    • getMessageFormat

      public String getMessageFormat()
      This method returns the message string which can be localized using i18n.
      Returns:
      string
    • getArgs

      public Object[] getArgs()
    • getMessage

      public String getMessage()
      This method overrides the default getMessage() method of Throwable class. It returns formatted message string after incorporating the args list or detailMessage
      Overrides:
      getMessage in class Throwable
      Returns:
      string