Package org.opencastproject.mediapackage
Class UnsupportedElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencastproject.mediapackage.UnsupportedElementException
- All Implemented Interfaces:
Serializable
This exception is thrown if an element is added to a
MediaPackage and the element type is not supported.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedElementException(String message) Creates a new exception with the given message.UnsupportedElementException(String message, Throwable cause) Creates a new exception with the given message and a cause.UnsupportedElementException(MediaPackageElement element, String message) Creates a new exception for the given element with the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedElementException
Creates a new exception with the given message.- Parameters:
message- the error message
-
UnsupportedElementException
Creates a new exception with the given message and a cause.- Parameters:
message- the error messagecause- the cause
-
UnsupportedElementException
Creates a new exception for the given element with the given message.- Parameters:
element- the elementmessage-
-
-
Method Details
-
getElement
Returns the element.- Returns:
- the element
-