C# 클래스 Spring.Validation.Actions.ExceptionAction

상속: BaseValidationAction
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
ExceptionAction ( ) : System

Initializes a new instance of the ExceptionAction class.

ExceptionAction ( IExpression throwsExpression ) : System

Initializes a new instance of the ExceptionAction class with an expression that defines the exception to throw.

ExceptionAction ( string exceptionExpression ) : System

Initializes a new instance of the ExceptionAction class.

보호된 메소드들

메소드 설명
OnInvalid ( object validationContext, object>.IDictionary contextParams, IValidationErrors errors ) : void

Called when associated validator is invalid.

메소드 상세

ExceptionAction() 공개 메소드

Initializes a new instance of the ExceptionAction class.
public ExceptionAction ( ) : System
리턴 System

ExceptionAction() 공개 메소드

Initializes a new instance of the ExceptionAction class with an expression that defines the exception to throw.
public ExceptionAction ( IExpression throwsExpression ) : System
throwsExpression IExpression
리턴 System

ExceptionAction() 공개 메소드

Initializes a new instance of the ExceptionAction class.
public ExceptionAction ( string exceptionExpression ) : System
exceptionExpression string Expression that defines the exception to throw when the validator is not valid.
리턴 System

OnInvalid() 보호된 메소드

Called when associated validator is invalid.
protected OnInvalid ( object validationContext, object>.IDictionary contextParams, IValidationErrors errors ) : void
validationContext object Validation context.
contextParams object>.IDictionary Additional context parameters.
errors IValidationErrors Validation errors container.
리턴 void