Package org.opencastproject.editor.api
Class EditorServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opencastproject.editor.api.EditorServiceException
-
- All Implemented Interfaces:
Serializable
public class EditorServiceException extends Exception
This exception may be thrown by the EditorService.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EditorServiceException(String message, ErrorStatus status)Creates a new editor service exception with the given error message.EditorServiceException(String message, ErrorStatus status, Throwable cause)Creates a new editor service exception with the given error message, caused by the given exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorStatusgetErrorStatus()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EditorServiceException
public EditorServiceException(String message, ErrorStatus status)
Creates a new editor service exception with the given error message.- Parameters:
message- the error message
-
EditorServiceException
public EditorServiceException(String message, ErrorStatus status, Throwable cause)
Creates a new editor service exception with the given error message, caused by the given exception.- Parameters:
message- the error messagecause- the error cause
-
-
Method Detail
-
getErrorStatus
public ErrorStatus getErrorStatus()
-
-