Class UnsupportedElementException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencastproject.mediapackage.UnsupportedElementException
All Implemented Interfaces:
Serializable

public class UnsupportedElementException extends RuntimeException
This exception is thrown if an element is added to a MediaPackage and the element type is not supported.
See Also:
  • Constructor Details

    • UnsupportedElementException

      public UnsupportedElementException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - the error message
    • UnsupportedElementException

      public UnsupportedElementException(String message, Throwable cause)
      Creates a new exception with the given message and a cause.
      Parameters:
      message - the error message
      cause - the cause
    • UnsupportedElementException

      public UnsupportedElementException(MediaPackageElement element, String message)
      Creates a new exception for the given element with the given message.
      Parameters:
      element - the element
      message -
  • Method Details

    • getElement

      public MediaPackageElement getElement()
      Returns the element.
      Returns:
      the element