public static class AsyncMedia.MediaException extends RuntimeException
| Constructor and Description |
|---|
MediaException(AsyncMedia.MediaErrorType type)
Creates an exception of the given type.
|
MediaException(AsyncMedia.MediaErrorType type,
String message)
Creates an exception of the given type.
|
MediaException(AsyncMedia.MediaErrorType type,
Throwable cause)
Creates an exception of the given type.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncMedia.MediaErrorType |
getMediaErrorType()
Gets the error type.
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic MediaException(AsyncMedia.MediaErrorType type)
type - The type of exceptionpublic MediaException(AsyncMedia.MediaErrorType type, String message)
type - THe type of error.message - The error message.public MediaException(AsyncMedia.MediaErrorType type, Throwable cause)
type - The type of errorcause - An underlying exception that caused this error.public AsyncMedia.MediaErrorType getMediaErrorType()