public class MediaException extends RuntimeException
Constructor and Description |
---|
MediaException(String message)
Constructor which merely passes its parameter to the corresponding
superclass constructor
RuntimeException.RuntimeException(java.lang.String) . |
MediaException(String message,
Throwable cause)
Constructor which merely passes its parameters to the corresponding
superclass constructor
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable) . |
MediaException(String message,
Throwable cause,
MediaError error)
Constructor which merely passes its parameters to the corresponding
superclass constructor
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable) . |
Modifier and Type | Method and Description |
---|---|
MediaError |
getMediaError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MediaException(String message)
RuntimeException.RuntimeException(java.lang.String)
.message
- The detail message.public MediaException(String message, Throwable cause)
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable)
.message
- The detail message.cause
- The cause.public MediaException(String message, Throwable cause, MediaError error)
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable)
.message
- The detail message.cause
- The cause.error
- The media error.public MediaError getMediaError()
Copyright © 2020. All rights reserved.