Class MediaPackageRuntimeException

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

public class MediaPackageRuntimeException extends RuntimeException
This exception is used to wrap the checked MediaPackageException into a RuntimeException. This is useful to create unchecked versions of some methods to use when in modern streams as in java8 or rxjava, where checked exceptions should be avoided.
See Also:
  • Constructor Details

    • MediaPackageRuntimeException

      public MediaPackageRuntimeException(MediaPackageException wrappedException)
      Creates a new media package runtime exception with the specified wrapped exception.
      Parameters:
      wrappedException - the wrapped MediaPackageException
  • Method Details