public class UnsupportedElementException extends RuntimeException
MediaPackage and the element type is not supported.| Constructor and Description |
|---|
UnsupportedElementException(MediaPackageElement element,
String message)
Creates a new exception for the given element with the given message.
|
UnsupportedElementException(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.
|
| Modifier and Type | Method and Description |
|---|---|
MediaPackageElement |
getElement()
Returns the element.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedElementException(String message)
message - the error messagepublic UnsupportedElementException(String message, Throwable cause)
message - the error messagecause - the causepublic UnsupportedElementException(MediaPackageElement element, String message)
element - the elementmessage - public MediaPackageElement getElement()
Copyright © 2009–2021 Opencast Project. All rights reserved.