Class AssetManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencastproject.assetmanager.api.AssetManagerException
- All Implemented Interfaces:
Serializable
A common exception indicating various issues.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssetManagerException(String message) AssetManagerException(String message, Throwable cause) AssetManagerException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the exception is caused by aUnauthorizedException.booleanReturns true if the exception is caused by aNotFoundException.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssetManagerException
public AssetManagerException() -
AssetManagerException
-
AssetManagerException
-
AssetManagerException
-
-
Method Details
-
isCauseNotAuthorized
public boolean isCauseNotAuthorized()Returns true if the exception is caused by aUnauthorizedException. -
isCauseNotFound
public boolean isCauseNotFound()Returns true if the exception is caused by aNotFoundException.
-