public class DOException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_ERROR |
static int |
CRYPTO_ERROR |
static int |
INTERNAL_ERROR |
static int |
NETWORK_ERROR |
static int |
NO_SUCH_ELEMENT_ERROR |
static int |
NO_SUCH_OBJECT_ERROR |
static int |
OBJECT_ALREADY_EXISTS |
static int |
OPERATION_NOT_AVAILABLE |
static int |
PERMISSION_DENIED_ERROR |
static int |
PROTOCOL_ERROR |
static int |
REPLICATION_ERROR |
static int |
REPLICATION_ITEM_OUT_OF_DATE |
static int |
REPOSITORY_AUTHENTICATION_ERROR |
static int |
SERVER_ERROR |
static int |
STORAGE_ERROR |
static int |
UNABLE_TO_LOCATE_OBJECT_ERROR |
Constructor and Description |
---|
DOException(int code,
java.lang.String message) |
DOException(int code,
java.lang.String message,
java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
static java.lang.String |
getFriendlyMessageForException(java.lang.Exception e) |
java.lang.String |
getMessage() |
static java.lang.String |
lookupCode(int errorCode) |
java.lang.String |
toString() |
public static final int REPOSITORY_AUTHENTICATION_ERROR
public static final int NETWORK_ERROR
public static final int PROTOCOL_ERROR
public static final int NO_SUCH_OBJECT_ERROR
public static final int UNABLE_TO_LOCATE_OBJECT_ERROR
public static final int CRYPTO_ERROR
public static final int PERMISSION_DENIED_ERROR
public static final int STORAGE_ERROR
public static final int OBJECT_ALREADY_EXISTS
public static final int INTERNAL_ERROR
public static final int OPERATION_NOT_AVAILABLE
public static final int APPLICATION_ERROR
public static final int REPLICATION_ERROR
public static final int SERVER_ERROR
public static final int NO_SUCH_ELEMENT_ERROR
public static final int REPLICATION_ITEM_OUT_OF_DATE
public DOException(int code, java.lang.String message)
public DOException(int code, java.lang.String message, java.lang.Throwable t)
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public int getErrorCode()
public static final java.lang.String lookupCode(int errorCode)
public static java.lang.String getFriendlyMessageForException(java.lang.Exception e)