public class DpCallbackExtendedException extends DpCallbackException
Modifier and Type | Field and Description |
---|---|
static int |
ERRCODE_ACCESS_DENIED |
static int |
ERRCODE_APPLICATION |
static int |
ERRCODE_APPLICATION_INTERNAL |
static int |
ERRCODE_DATA_MISSING |
static int |
ERRCODE_IN_USE |
static int |
ERRCODE_INCONSISTENT_VALUE |
static int |
ERRCODE_INTERRUPT |
static int |
ERRCODE_RESOURCE_DENIED |
int |
extendedErrorCode |
Constructor and Description |
---|
DpCallbackExtendedException(int extendedErrorCode,
ConfNamespace appNS,
String appTag,
ConfException ex) |
DpCallbackExtendedException(int extendedErrorCode,
ConfNamespace appNS,
String appTag,
String fmt,
Object... arguments) |
DpCallbackExtendedException(int extendedErrorCode,
String msg) |
Modifier and Type | Method and Description |
---|---|
ConfNamespace |
getAppNS() |
String |
getAppTag() |
String |
getExtendedErrorCodeString()
Get string representation of this exception error code.
|
static ConfException |
mk(int extendedErrorCode,
ConfNamespace appNS,
String appTag,
ConfResponse r)
Deprecated.
|
mk
getErrorCode, getOpaque, mk
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int ERRCODE_IN_USE
public static final int ERRCODE_RESOURCE_DENIED
public static final int ERRCODE_INCONSISTENT_VALUE
public static final int ERRCODE_ACCESS_DENIED
public static final int ERRCODE_APPLICATION
public static final int ERRCODE_APPLICATION_INTERNAL
public static final int ERRCODE_DATA_MISSING
public static final int ERRCODE_INTERRUPT
public int extendedErrorCode
public DpCallbackExtendedException(int extendedErrorCode, String msg)
extendedErrorCode
- - One of ERRCODE_IN_USE
,
ERRCODE_RESOURCE_DENIED
,
ERRCODE_INCONSISTENT_VALUE
,
ERRCODE_ACCESS_DENIED
,
ERRCODE_DATA_MISSING
,
ERRCODE_INTERRUPT
,
ERRCODE_APPLICATION
or
ERRCODE_APPLICATION_INTERNAL
msg
- - informative text describing this exceptionpublic DpCallbackExtendedException(int extendedErrorCode, ConfNamespace appNS, String appTag, String fmt, Object... arguments)
extendedErrorCode
- - One of ERRCODE_IN_USE
,
ERRCODE_RESOURCE_DENIED
,
ERRCODE_INCONSISTENT_VALUE
,
ERRCODE_ACCESS_DENIED
,
ERRCODE_DATA_MISSING
,
ERRCODE_INTERRUPT
,
ERRCODE_APPLICATION
or
ERRCODE_APPLICATION_INTERNAL
appNS
- - not implemented, should be nullappTag
- - not implemented, should be nullfmt
- - informative text describing this exceptionarguments
- - arguments to be substituted in fmtpublic DpCallbackExtendedException(int extendedErrorCode, ConfNamespace appNS, String appTag, ConfException ex)
extendedErrorCode
- - One of ERRCODE_IN_USE
,
ERRCODE_RESOURCE_DENIED
,
ERRCODE_INCONSISTENT_VALUE
,
ERRCODE_ACCESS_DENIED
,
ERRCODE_DATA_MISSING
,
ERRCODE_INTERRUPT
,
ERRCODE_APPLICATION
or
ERRCODE_APPLICATION_INTERNAL
appNS
- - not implemented, should be nullappTag
- - not implemented, should be nullex
- - cause exception@Deprecated public static ConfException mk(int extendedErrorCode, ConfNamespace appNS, String appTag, ConfResponse r)
public ConfNamespace getAppNS()
public String getAppTag()
public String getExtendedErrorCodeString()