public class org.springframework.web.server.ResponseStatusException extends org.springframework.core.NestedRuntimeException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.server.ResponseStatusException
super_class: org.springframework.core.NestedRuntimeException
{
private final org.springframework.http.HttpStatus status;
descriptor: Lorg/springframework/http/HttpStatus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String reason;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(org.springframework.http.HttpStatus);
descriptor: (Lorg/springframework/http/HttpStatus;)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
aconst_null
invokespecial org.springframework.web.server.ResponseStatusException.<init>:(Lorg/springframework/http/HttpStatus;Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/ResponseStatusException;
0 2 1 status Lorg/springframework/http/HttpStatus;
MethodParameters:
Name Flags
status
public void <init>(org.springframework.http.HttpStatus, java.lang.String);
descriptor: (Lorg/springframework/http/HttpStatus;Ljava/lang/String;)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
aconst_null
invokespecial org.springframework.web.server.ResponseStatusException.<init>:(Lorg/springframework/http/HttpStatus;Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/ResponseStatusException;
0 2 1 status Lorg/springframework/http/HttpStatus;
0 2 2 reason Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
status
reason
public void <init>(org.springframework.http.HttpStatus, java.lang.String, java.lang.Throwable);
descriptor: (Lorg/springframework/http/HttpStatus;Ljava/lang/String;Ljava/lang/Throwable;)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
aconst_null
aload 3
invokespecial org.springframework.core.NestedRuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 1
ldc "HttpStatus is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.web.server.ResponseStatusException.status:Lorg/springframework/http/HttpStatus;
3: aload 0
aload 2
putfield org.springframework.web.server.ResponseStatusException.reason:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/server/ResponseStatusException;
0 5 1 status Lorg/springframework/http/HttpStatus;
0 5 2 reason Ljava/lang/String;
0 5 3 cause Ljava/lang/Throwable;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
status
reason
cause
public org.springframework.http.HttpStatus getStatus();
descriptor: ()Lorg/springframework/http/HttpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.server.ResponseStatusException.status:Lorg/springframework/http/HttpStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/server/ResponseStatusException;
public java.lang.String getReason();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.server.ResponseStatusException.reason:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/server/ResponseStatusException;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.springframework.web.server.ResponseStatusException.status:Lorg/springframework/http/HttpStatus;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.web.server.ResponseStatusException.reason:Ljava/lang/String;
ifnull 1
new java.lang.StringBuilder
dup
ldc " \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.web.server.ResponseStatusException.reason:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc ""
StackMap locals: org.springframework.web.server.ResponseStatusException
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
aload 0
invokevirtual org.springframework.web.server.ResponseStatusException.getCause:()Ljava/lang/Throwable;
invokestatic org.springframework.core.NestedExceptionUtils.buildMessage:(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/server/ResponseStatusException;
3 4 1 msg Ljava/lang/String;
}
SourceFile: "ResponseStatusException.java"