public static class AsyncMedia.MediaException
- Object
- Throwable
- Exception
- RuntimeException
- AsyncMedia.MediaException
Encapsulates a media exception.
Constructors
Methods
public AsyncMedia.MediaErrorType getMediaErrorType() | Gets the error type. |
Inherited methods
Constructor details
MediaException
public MediaException(AsyncMedia.MediaErrorType type)Creates an exception of the given type.
Parameters
typeAsyncMedia.MediaErrorType- The type of exception
MediaException
public MediaException(AsyncMedia.MediaErrorType type, String message)Creates an exception of the given type.
Parameters
typeAsyncMedia.MediaErrorType- THe type of error.
messageString- The error message.
MediaException
public MediaException(AsyncMedia.MediaErrorType type, Throwable cause)Creates an exception of the given type.
Parameters
typeAsyncMedia.MediaErrorType- The type of error
causeThrowable- An underlying exception that caused this error.
Method details
getMediaErrorType
public AsyncMedia.MediaErrorType getMediaErrorType()Gets the error type.