Top Description Fields Constructors Methods
com.sun.media.jfxmedia

public Class MediaException

extends RuntimeException
Class Inheritance

Class of exceptions which might be thrown while processing media.

Field Summary

Modifier and TypeField and Description
private MediaError
private static final long

Constructor Summary

AccessConstructor and Description
public
MediaException(String
The detail message.
message
)

Constructor which merely passes its parameter to the corresponding superclass constructor RuntimeException#RuntimeException(java.lang.String).

public
MediaException(String
The detail message.
message
,
Throwable
The cause.
cause
)

Constructor which merely passes its parameters to the corresponding superclass constructor RuntimeException#RuntimeException(java.lang.String, java.lang.Throwable).

public
MediaException(String
The detail message.
message
,
Throwable
The cause.
cause
,
MediaError
The media error.
error
)

Constructor which merely passes its parameters to the corresponding superclass constructor RuntimeException#RuntimeException(java.lang.String, java.lang.Throwable).

Method Summary

Modifier and TypeMethod and Description
public MediaError

Field Detail

errorback to summary
private MediaError error
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

MediaExceptionback to summary
public MediaException(String message)

Constructor which merely passes its parameter to the corresponding superclass constructor RuntimeException#RuntimeException(java.lang.String).

Parameters
message:String

The detail message.

MediaExceptionback to summary
public MediaException(String message, Throwable cause)

Constructor which merely passes its parameters to the corresponding superclass constructor RuntimeException#RuntimeException(java.lang.String, java.lang.Throwable).

Parameters
message:String

The detail message.

cause:Throwable

The cause.

MediaExceptionback to summary
public 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).

Parameters
message:String

The detail message.

cause:Throwable

The cause.

error:MediaError

The media error.

Method Detail

getMediaErrorback to summary
public MediaError getMediaError()