public class RequestValidationException extends IOException
Constructor and Description |
---|
RequestValidationException(javax.ws.rs.core.Response.StatusType status,
String errorHttpMsg,
String msg)
Constructor for RequestValidationException.
|
RequestValidationException(javax.ws.rs.core.Response.StatusType status,
String errorHttpMsg,
Throwable throwable)
Constructor for RequestValidationException.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorHttpMsg() |
javax.ws.rs.core.Response.StatusType |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RequestValidationException(javax.ws.rs.core.Response.StatusType status, String errorHttpMsg, String msg)
status
- the HTTP Response Status to throw back to usererrorHttpMsg
- the error HTTP message to throw back to usermsg
- the error messagepublic RequestValidationException(javax.ws.rs.core.Response.StatusType status, String errorHttpMsg, Throwable throwable)
status
- the HTTP Response Status to throw back to usererrorHttpMsg
- the error HTTP message to throw back to userthrowable
- the throwablepublic javax.ws.rs.core.Response.StatusType getStatus()
public String getErrorHttpMsg()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.