public class NuxeoException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_FORBIDDEN
The error forbidden.
|
static int |
ERROR_NOTFOUND
The error notfound.
|
static int |
ERROR_UNAVAILAIBLE
The error unavailaible.
|
| Constructor and Description |
|---|
NuxeoException(int errorCode)
Instantiates a new nuxeo exception.
|
NuxeoException(int errorCode,
Throwable cause) |
NuxeoException(Throwable cause)
Instantiates a new nuxeo exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Gets the error code.
|
void |
rethrowCMSException()
Rethrow cms exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int ERROR_FORBIDDEN
public static final int ERROR_UNAVAILAIBLE
public static final int ERROR_NOTFOUND
public NuxeoException(Throwable cause)
cause - the causepublic NuxeoException(int errorCode)
errorCode - the error codepublic NuxeoException(int errorCode,
Throwable cause)
Copyright © 2019. All rights reserved.