Package org.opencastproject.mediapackage
Class MediaPackageRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencastproject.mediapackage.MediaPackageRuntimeException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMediaPackageRuntimeException(MediaPackageException wrappedException) Creates a new media package runtime exception with the specified wrapped exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MediaPackageRuntimeException
Creates a new media package runtime exception with the specified wrapped exception.- Parameters:
wrappedException- the wrappedMediaPackageException
-
-
Method Details
-
getWrappedException
-