public final class com.ctc.wstx.util.ExceptionUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.ExceptionUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/ExceptionUtil;
public static void throwRuntimeException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.ctc.wstx.util.ExceptionUtil.throwIfUnchecked:(Ljava/lang/Throwable;)V
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "[was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public static java.io.IOException constructIOException(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)Ljava/io/IOException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
aload 0
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
aload 1
invokestatic com.ctc.wstx.util.ExceptionUtil.setInitCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
0 3 1 src Ljava/lang/Throwable;
1 3 2 e Ljava/io/IOException;
MethodParameters:
Name Flags
msg
src
public static void throwAsIllegalArgument(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.ctc.wstx.util.ExceptionUtil.throwIfUnchecked:(Ljava/lang/Throwable;)V
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "[was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: aload 1
aload 0
invokestatic com.ctc.wstx.util.ExceptionUtil.setInitCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
3: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t Ljava/lang/Throwable;
2 4 1 rex Ljava/lang/IllegalArgumentException;
MethodParameters:
Name Flags
t
public static void throwIfUnchecked(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.RuntimeException
ifeq 2
1: aload 0
checkcast java.lang.RuntimeException
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Error
ifeq 4
3: aload 0
checkcast java.lang.Error
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public static void throwGenericInternal();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic com.ctc.wstx.util.ExceptionUtil.throwInternal:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void throwInternal(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "[no description]"
astore 0
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Internal error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public static void setInitCause(java.lang.Throwable, java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ifnonnull 2
1: aload 0
aload 1
invokevirtual java.lang.Throwable.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 newT Ljava/lang/Throwable;
0 3 1 rootT Ljava/lang/Throwable;
MethodParameters:
Name Flags
newT
rootT
}
SourceFile: "ExceptionUtil.java"