public final class javafx.scene.media.MediaException extends java.lang.RuntimeException
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.scene.media.MediaException
super_class: java.lang.RuntimeException
{
private final javafx.scene.media.MediaException$Type type;
descriptor: Ljavafx/scene/media/MediaException$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static javafx.scene.media.MediaException$Type errorCodeToType(int);
descriptor: (I)Ljavafx/scene/media/MediaException$Type;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_LOCATOR_CONNECTION_LOST:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpne 3
1: getstatic javafx.scene.media.MediaException$Type.MEDIA_INACCESSIBLE:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 2: goto 28
end local 1 StackMap locals:
StackMap stack:
3: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_GSTREAMER_SOURCEFILE_NONEXISTENT:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 5
4: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_GSTREAMER_SOURCEFILE_NONREGULAR:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpne 7
5: StackMap locals:
StackMap stack:
getstatic javafx.scene.media.MediaException$Type.MEDIA_UNAVAILABLE:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 6: goto 28
end local 1 StackMap locals:
StackMap stack:
7: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
8: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_UNKNOWN_PIXEL_FORMAT:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
9: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_VIDEO_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
10: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_LOCATOR_CONTENT_TYPE_NULL:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
11: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_LOCATOR_UNSUPPORTED_MEDIA_FORMAT:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
12: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_LOCATOR_UNSUPPORTED_TYPE:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
13: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_GSTREAMER_UNSUPPORTED_PROTOCOL:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
14: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_MP3_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
15: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_AAC_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
16: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_H264_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 18
17: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_HLS_FORMAT_UNSUPPORTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpne 20
18: StackMap locals:
StackMap stack:
getstatic javafx.scene.media.MediaException$Type.MEDIA_UNSUPPORTED:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 19: goto 28
end local 1 StackMap locals:
StackMap stack:
20: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MEDIA_CORRUPTED:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpne 23
21: getstatic javafx.scene.media.MediaException$Type.MEDIA_CORRUPTED:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 22: goto 28
end local 1 StackMap locals:
StackMap stack:
23: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_BASE_GSTREAMER:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
iand
getstatic com.sun.media.jfxmedia.MediaError.ERROR_BASE_GSTREAMER:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpeq 25
24: iload 0
getstatic com.sun.media.jfxmedia.MediaError.ERROR_BASE_JNI:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
iand
getstatic com.sun.media.jfxmedia.MediaError.ERROR_BASE_JNI:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
if_icmpne 27
25: StackMap locals:
StackMap stack:
getstatic javafx.scene.media.MediaException$Type.PLAYBACK_ERROR:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 26: goto 28
end local 1 27: StackMap locals:
StackMap stack:
getstatic javafx.scene.media.MediaException$Type.UNKNOWN:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 28: StackMap locals: javafx.scene.media.MediaException$Type
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 errorCode I
2 3 1 errorType Ljavafx/scene/media/MediaException$Type;
6 7 1 errorType Ljavafx/scene/media/MediaException$Type;
19 20 1 errorType Ljavafx/scene/media/MediaException$Type;
22 23 1 errorType Ljavafx/scene/media/MediaException$Type;
26 27 1 errorType Ljavafx/scene/media/MediaException$Type;
28 29 1 errorType Ljavafx/scene/media/MediaException$Type;
MethodParameters:
Name Flags
errorCode
static javafx.scene.media.MediaException exceptionToMediaException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljavafx/scene/media/MediaException;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic javafx.scene.media.MediaException$Type.UNKNOWN:Ljavafx/scene/media/MediaException$Type;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
instanceof java.net.UnknownHostException
ifeq 4
2: getstatic javafx.scene.media.MediaException$Type.MEDIA_UNAVAILABLE:Ljavafx/scene/media/MediaException$Type;
astore 1
3: goto 12
StackMap locals: javafx.scene.media.MediaException$Type
StackMap stack:
4: aload 0
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
instanceof java.lang.IllegalArgumentException
ifeq 7
5: getstatic javafx.scene.media.MediaException$Type.MEDIA_UNSUPPORTED:Ljavafx/scene/media/MediaException$Type;
astore 1
6: goto 12
StackMap locals:
StackMap stack:
7: aload 0
instanceof com.sun.media.jfxmedia.MediaException
ifeq 12
8: aload 0
checkcast com.sun.media.jfxmedia.MediaException
astore 2
start local 2 9: aload 2
invokevirtual com.sun.media.jfxmedia.MediaException.getMediaError:()Lcom/sun/media/jfxmedia/MediaError;
astore 3
start local 3 10: aload 3
ifnull 12
11: aload 3
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
invokestatic javafx.scene.media.MediaException.errorCodeToType:(I)Ljavafx/scene/media/MediaException$Type;
astore 1
end local 3 end local 2 12: StackMap locals:
StackMap stack:
new javafx.scene.media.MediaException
dup
aload 1
aload 0
invokespecial javafx.scene.media.MediaException.<init>:(Ljavafx/scene/media/MediaException$Type;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 e Ljava/lang/Exception;
1 13 1 errType Ljavafx/scene/media/MediaException$Type;
9 12 2 me Lcom/sun/media/jfxmedia/MediaException;
10 12 3 error Lcom/sun/media/jfxmedia/MediaError;
MethodParameters:
Name Flags
e
static javafx.scene.media.MediaException haltException(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavafx/scene/media/MediaException;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new javafx.scene.media.MediaException
dup
getstatic javafx.scene.media.MediaException$Type.PLAYBACK_HALTED:Ljavafx/scene/media/MediaException$Type;
aload 0
invokespecial javafx.scene.media.MediaException.<init>:(Ljavafx/scene/media/MediaException$Type;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 message Ljava/lang/String;
MethodParameters:
Name Flags
message
static javafx.scene.media.MediaException getMediaException(java.lang.Object, int, java.lang.String);
descriptor: (Ljava/lang/Object;ILjava/lang/String;)Ljavafx/scene/media/MediaException;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic com.sun.media.jfxmedia.MediaError.getFromCode:(I)Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.description:()Ljava/lang/String;
astore 3
start local 3 1: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 2: iload 1
invokestatic javafx.scene.media.MediaException.errorCodeToType:(I)Ljavafx/scene/media/MediaException$Type;
astore 5
start local 5 3: new javafx.scene.media.MediaException
dup
aload 5
aload 4
invokespecial javafx.scene.media.MediaException.<init>:(Ljavafx/scene/media/MediaException$Type;Ljava/lang/String;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 source Ljava/lang/Object;
0 4 1 errorCode I
0 4 2 message Ljava/lang/String;
1 4 3 errorDescription Ljava/lang/String;
2 4 4 exceptionMessage Ljava/lang/String;
3 4 5 errorType Ljavafx/scene/media/MediaException$Type;
MethodParameters:
Name Flags
source
errorCode
message
void <init>(javafx.scene.media.MediaException$Type, java.lang.Throwable);
descriptor: (Ljavafx/scene/media/MediaException$Type;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
1: aload 0
aload 1
putfield javafx.scene.media.MediaException.type:Ljavafx/scene/media/MediaException$Type;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/media/MediaException;
0 3 1 type Ljavafx/scene/media/MediaException$Type;
0 3 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
type
t
void <init>(javafx.scene.media.MediaException$Type, java.lang.String, java.lang.Throwable);
descriptor: (Ljavafx/scene/media/MediaException$Type;Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 0
aload 1
putfield javafx.scene.media.MediaException.type:Ljavafx/scene/media/MediaException$Type;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/media/MediaException;
0 3 1 type Ljavafx/scene/media/MediaException$Type;
0 3 2 message Ljava/lang/String;
0 3 3 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
type
message
t
void <init>(javafx.scene.media.MediaException$Type, java.lang.String);
descriptor: (Ljavafx/scene/media/MediaException$Type;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield javafx.scene.media.MediaException.type:Ljavafx/scene/media/MediaException$Type;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/media/MediaException;
0 3 1 type Ljavafx/scene/media/MediaException$Type;
0 3 2 message Ljava/lang/String;
MethodParameters:
Name Flags
type
message
public javafx.scene.media.MediaException$Type getType();
descriptor: ()Ljavafx/scene/media/MediaException$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.media.MediaException.type:Ljavafx/scene/media/MediaException$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/media/MediaException;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "MediaException: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javafx.scene.media.MediaException.type:Ljavafx/scene/media/MediaException$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual javafx.scene.media.MediaException.getMessage:()Ljava/lang/String;
ifnull 2
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javafx.scene.media.MediaException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual javafx.scene.media.MediaException.getCause:()Ljava/lang/Throwable;
ifnull 3
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javafx.scene.media.MediaException.getCause:()Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/media/MediaException;
1 4 1 errString Ljava/lang/String;
}
SourceFile: "MediaException.java"
NestMembers:
javafx.scene.media.MediaException$Type
InnerClasses:
public final Type = javafx.scene.media.MediaException$Type of javafx.scene.media.MediaException