Package com.adobe.granite.asset.api
Class AssetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.adobe.granite.asset.api.AssetException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetIOException
Exception facade for all Asset related exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssetException(String message) AssetException(String message, Object... params) This constructor initializes class membersAssetException(String message, Throwable rootCause) AssetException(String message, Throwable rootCause, Object... params) This constructor initializes class membersAssetException(Throwable rootCause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssetException
-
AssetException
This constructor initializes class members- Parameters:
message- Message stringparams- List of parameters to be incorporated in message string
-
AssetException
This constructor initializes class members- Parameters:
message- Message stringrootCause- rootCause of Exceptionparams- List of parameters to be incorporated in message string
-
AssetException
-
AssetException
-
-
Method Details
-
getMessageFormat
This method returns the message string which can be localized using i18n.- Returns:
- string
-
getArgs
-
getMessage
This method overrides the default getMessage() method of Throwable class. It returns formatted message string after incorporating the args list or detailMessage- Overrides:
getMessagein classThrowable- Returns:
- string
-