public class org.springframework.web.bind.MethodArgumentNotValidException extends java.lang.Exception
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.bind.MethodArgumentNotValidException
super_class: java.lang.Exception
{
private final org.springframework.core.MethodParameter parameter;
descriptor: Lorg/springframework/core/MethodParameter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.validation.BindingResult bindingResult;
descriptor: Lorg/springframework/validation/BindingResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.MethodParameter, org.springframework.validation.BindingResult);
descriptor: (Lorg/springframework/core/MethodParameter;Lorg/springframework/validation/BindingResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Exception.<init>:()V
1: aload 0
aload 1
putfield org.springframework.web.bind.MethodArgumentNotValidException.parameter:Lorg/springframework/core/MethodParameter;
2: aload 0
aload 2
putfield org.springframework.web.bind.MethodArgumentNotValidException.bindingResult:Lorg/springframework/validation/BindingResult;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/bind/MethodArgumentNotValidException;
0 4 1 parameter Lorg/springframework/core/MethodParameter;
0 4 2 bindingResult Lorg/springframework/validation/BindingResult;
MethodParameters:
Name Flags
parameter
bindingResult
public org.springframework.core.MethodParameter getParameter();
descriptor: ()Lorg/springframework/core/MethodParameter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.parameter:Lorg/springframework/core/MethodParameter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/bind/MethodArgumentNotValidException;
public org.springframework.validation.BindingResult getBindingResult();
descriptor: ()Lorg/springframework/validation/BindingResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.bindingResult:Lorg/springframework/validation/BindingResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/bind/MethodArgumentNotValidException;
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Validation failed for argument ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.parameter:Lorg/springframework/core/MethodParameter;
invokevirtual org.springframework.core.MethodParameter.getParameterIndex:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.parameter:Lorg/springframework/core/MethodParameter;
invokevirtual org.springframework.core.MethodParameter.getExecutable:()Ljava/lang/reflect/Executable;
invokevirtual java.lang.reflect.Executable.toGenericString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: astore 1
start local 1 4: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.bindingResult:Lorg/springframework/validation/BindingResult;
invokeinterface org.springframework.validation.BindingResult.getErrorCount:()I
iconst_1
if_icmple 6
5: aload 1
ldc " with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.bindingResult:Lorg/springframework/validation/BindingResult;
invokeinterface org.springframework.validation.BindingResult.getErrorCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " errors"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 0
getfield org.springframework.web.bind.MethodArgumentNotValidException.bindingResult:Lorg/springframework/validation/BindingResult;
invokeinterface org.springframework.validation.BindingResult.getAllErrors:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.springframework.web.bind.MethodArgumentNotValidException java.lang.StringBuilder top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.validation.ObjectError
astore 2
start local 2 9: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/web/bind/MethodArgumentNotValidException;
4 12 1 sb Ljava/lang/StringBuilder;
9 10 2 error Lorg/springframework/validation/ObjectError;
}
SourceFile: "MethodArgumentNotValidException.java"