public class ValidationException extends Exception
Constructor and Description |
---|
ValidationException(String error,
String errorDescription,
org.springframework.http.HttpStatus status) |
Modifier and Type | Method and Description |
---|---|
String |
getError() |
String |
getErrorDescription() |
org.springframework.http.HttpStatus |
getStatus() |
void |
setError(String error) |
void |
setErrorDescription(String errorDescription) |
void |
setStatus(org.springframework.http.HttpStatus status) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ValidationException(String error, String errorDescription, org.springframework.http.HttpStatus status)
public String getErrorDescription()
public void setErrorDescription(String errorDescription)
public org.springframework.http.HttpStatus getStatus()
public void setStatus(org.springframework.http.HttpStatus status)
Copyright © 2018. All rights reserved.