public class Failure extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected int |
errorCode |
protected boolean |
loggable |
protected Response |
response |
Constructor and Description |
---|
Failure(int errorCode) |
Failure(String s) |
Failure(String s,
int errorCode) |
Failure(String s,
Response response) |
Failure(String s,
Throwable throwable) |
Failure(String s,
Throwable throwable,
int errorCode) |
Failure(String s,
Throwable throwable,
Response response) |
Failure(Throwable throwable) |
Failure(Throwable throwable,
int errorCode) |
Failure(Throwable throwable,
Response response) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
Response |
getResponse() |
boolean |
isLoggable() |
void |
setErrorCode(int errorCode) |
void |
setLoggable(boolean loggable) |
void |
setResponse(Response response) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected int errorCode
protected boolean loggable
protected Response response
Copyright © 2017 JBoss by Red Hat. All rights reserved.