public class javax.ws.rs.WebApplicationException extends java.lang.RuntimeException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.ws.rs.WebApplicationException
super_class: java.lang.RuntimeException
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8273970399584007146
private final javax.ws.rs.core.Response response;
descriptor: Ljavax/ws/rs/core/Response;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
getstatic javax.ws.rs.core.Response$Status.INTERNAL_SERVER_ERROR:Ljavax/ws/rs/core/Response$Status;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
getstatic javax.ws.rs.core.Response$Status.INTERNAL_SERVER_ERROR:Ljavax/ws/rs/core/Response$Status;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void <init>(javax.ws.rs.core.Response);
descriptor: (Ljavax/ws/rs/core/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 response Ljavax/ws/rs/core/Response;
MethodParameters:
Name Flags
response final
public void <init>(java.lang.String, javax.ws.rs.core.Response);
descriptor: (Ljava/lang/String;Ljavax/ws/rs/core/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 response Ljavax/ws/rs/core/Response;
MethodParameters:
Name Flags
message final
response final
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
iload 1
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 status I
MethodParameters:
Name Flags
status final
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
iload 2
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 status I
MethodParameters:
Name Flags
message final
status final
public void <init>(javax.ws.rs.core.Response$Status);
descriptor: (Ljavax/ws/rs/core/Response$Status;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 status Ljavax/ws/rs/core/Response$Status;
MethodParameters:
Name Flags
status final
public void <init>(java.lang.String, javax.ws.rs.core.Response$Status);
descriptor: (Ljava/lang/String;Ljavax/ws/rs/core/Response$Status;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 status Ljavax/ws/rs/core/Response$Status;
MethodParameters:
Name Flags
message final
status final
public void <init>(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic javax.ws.rs.core.Response$Status.INTERNAL_SERVER_ERROR:Ljavax/ws/rs/core/Response$Status;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause final
public void <init>(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic javax.ws.rs.core.Response$Status.INTERNAL_SERVER_ERROR:Ljavax/ws/rs/core/Response$Status;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
message final
cause final
public void <init>(java.lang.Throwable, javax.ws.rs.core.Response);
descriptor: (Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic javax.ws.rs.WebApplicationException.computeExceptionMessage:(Ljavax/ws/rs/core/Response;)Ljava/lang/String;
aload 1
aload 2
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 response Ljavax/ws/rs/core/Response;
MethodParameters:
Name Flags
cause final
response final
public void <init>(java.lang.String, java.lang.Throwable, javax.ws.rs.core.Response);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 3
ifnonnull 4
2: aload 0
invokestatic javax.ws.rs.core.Response.serverError:()Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
putfield javax.ws.rs.WebApplicationException.response:Ljavax/ws/rs/core/Response;
3: goto 5
4: StackMap locals: javax.ws.rs.WebApplicationException java.lang.String java.lang.Throwable javax.ws.rs.core.Response
StackMap stack:
aload 0
aload 3
putfield javax.ws.rs.WebApplicationException.response:Ljavax/ws/rs/core/Response;
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/ws/rs/WebApplicationException;
0 6 1 message Ljava/lang/String;
0 6 2 cause Ljava/lang/Throwable;
0 6 3 response Ljavax/ws/rs/core/Response;
MethodParameters:
Name Flags
message final
cause final
response final
private static java.lang.String computeExceptionMessage(javax.ws.rs.core.Response);
descriptor: (Ljavax/ws/rs/core/Response;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnull 3
1: aload 0
invokevirtual javax.ws.rs.core.Response.getStatusInfo:()Ljavax/ws/rs/core/Response$StatusType;
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
getstatic javax.ws.rs.core.Response$Status.INTERNAL_SERVER_ERROR:Ljavax/ws/rs/core/Response$Status;
astore 1
start local 1 4: StackMap locals: javax.ws.rs.core.Response$StatusType
StackMap stack:
new java.lang.StringBuilder
dup
ldc "HTTP "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface javax.ws.rs.core.Response$StatusType.getStatusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokeinterface javax.ws.rs.core.Response$StatusType.getReasonPhrase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 response Ljavax/ws/rs/core/Response;
2 3 1 statusInfo Ljavax/ws/rs/core/Response$StatusType;
4 5 1 statusInfo Ljavax/ws/rs/core/Response$StatusType;
MethodParameters:
Name Flags
response
public void <init>(java.lang.Throwable, int);
descriptor: (Ljava/lang/Throwable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 status I
MethodParameters:
Name Flags
cause final
status final
public void <init>(java.lang.String, java.lang.Throwable, int);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 cause Ljava/lang/Throwable;
0 2 3 status I
MethodParameters:
Name Flags
message final
cause final
status final
public void <init>(java.lang.Throwable, javax.ws.rs.core.Response$Status);
descriptor: (Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic javax.ws.rs.core.Response.status:(Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 status Ljavax/ws/rs/core/Response$Status;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
cause final
status final
public void <init>(java.lang.String, java.lang.Throwable, javax.ws.rs.core.Response$Status);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response$Status;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic javax.ws.rs.core.Response.status:(Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
invokespecial javax.ws.rs.WebApplicationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljavax/ws/rs/core/Response;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/ws/rs/WebApplicationException;
0 2 1 message Ljava/lang/String;
0 2 2 cause Ljava/lang/Throwable;
0 2 3 status Ljavax/ws/rs/core/Response$Status;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
message final
cause final
status final
public javax.ws.rs.core.Response getResponse();
descriptor: ()Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.ws.rs.WebApplicationException.response:Ljavax/ws/rs/core/Response;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/ws/rs/WebApplicationException;
static javax.ws.rs.core.Response validate(javax.ws.rs.core.Response, javax.ws.rs.core.Response$Status);
descriptor: (Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.ws.rs.core.Response$Status.getStatusCode:()I
aload 0
invokevirtual javax.ws.rs.core.Response.getStatus:()I
if_icmpeq 4
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid response status code. Expected [%d], was [%d]."
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: aload 1
invokevirtual javax.ws.rs.core.Response$Status.getStatusCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
invokevirtual javax.ws.rs.core.Response.getStatus:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 response Ljavax/ws/rs/core/Response;
0 5 1 expectedStatus Ljavax/ws/rs/core/Response$Status;
MethodParameters:
Name Flags
response final
expectedStatus
static javax.ws.rs.core.Response validate(javax.ws.rs.core.Response, javax.ws.rs.core.Response$Status$Family);
descriptor: (Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.ws.rs.core.Response.getStatusInfo:()Ljavax/ws/rs/core/Response$StatusType;
invokeinterface javax.ws.rs.core.Response$StatusType.getFamily:()Ljavax/ws/rs/core/Response$Status$Family;
aload 1
if_acmpeq 5
1: new java.lang.IllegalArgumentException
dup
2: ldc "Status code of the supplied response [%d] is not from the required status code family \"%s\"."
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual javax.ws.rs.core.Response.getStatus:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 response Ljavax/ws/rs/core/Response;
0 6 1 expectedStatusFamily Ljavax/ws/rs/core/Response$Status$Family;
MethodParameters:
Name Flags
response final
expectedStatusFamily
}
SourceFile: "WebApplicationException.java"
InnerClasses:
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response
public final Status = javax.ws.rs.core.Response$Status of javax.ws.rs.core.Response
public final Family = javax.ws.rs.core.Response$Status$Family of javax.ws.rs.core.Response$Status
public abstract StatusType = javax.ws.rs.core.Response$StatusType of javax.ws.rs.core.Response