Class AssetException

    • Constructor Detail

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

      • 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