public abstract class AbstractRestException extends RuntimeException
| Constructor and Description |
|---|
AbstractRestException()
Constructor.
|
AbstractRestException(String message)
Constructor.
|
AbstractRestException(String message,
Throwable cause)
Constructor.
|
AbstractRestException(Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getErrorCode() |
abstract int |
getHttpCode() |
abstract String |
getMoreInfoUrl() |
String |
getServerStack() |
void |
setServerStack(String stacktrace) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractRestException()
public AbstractRestException(String message)
message - the exception messagepublic AbstractRestException(Throwable cause)
cause - the exception causepublic String getServerStack()
public void setServerStack(String stacktrace)
stacktrace - the stacktrace to setpublic abstract int getHttpCode()
public abstract int getErrorCode()
public abstract String getMoreInfoUrl()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.