public class WebException extends RuntimeException
Constructor and Description |
---|
WebException(String message) |
WebException(String message,
int statusCode) |
WebException(String message,
int statusCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
void |
setStatusCode(int statusCode) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WebException(String message)
public WebException(String message, int statusCode)
public WebException(String message, int statusCode, Throwable cause)
public int getStatusCode()
public void setStatusCode(int statusCode)
Copyright © 2016. All rights reserved.