net.cnri.dobj
Class DOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.cnri.dobj.DOException
- All Implemented Interfaces:
- java.io.Serializable
public class DOException
- extends java.io.IOException
Exception used in most digital object components.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REPOSITORY_AUTHENTICATION_ERROR
public static final int REPOSITORY_AUTHENTICATION_ERROR
- See Also:
- Constant Field Values
NETWORK_ERROR
public static final int NETWORK_ERROR
- See Also:
- Constant Field Values
PROTOCOL_ERROR
public static final int PROTOCOL_ERROR
- See Also:
- Constant Field Values
NO_SUCH_OBJECT_ERROR
public static final int NO_SUCH_OBJECT_ERROR
- See Also:
- Constant Field Values
UNABLE_TO_LOCATE_OBJECT_ERROR
public static final int UNABLE_TO_LOCATE_OBJECT_ERROR
- See Also:
- Constant Field Values
CRYPTO_ERROR
public static final int CRYPTO_ERROR
- See Also:
- Constant Field Values
PERMISSION_DENIED_ERROR
public static final int PERMISSION_DENIED_ERROR
- See Also:
- Constant Field Values
STORAGE_ERROR
public static final int STORAGE_ERROR
- See Also:
- Constant Field Values
OBJECT_ALREADY_EXISTS
public static final int OBJECT_ALREADY_EXISTS
- See Also:
- Constant Field Values
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
OPERATION_NOT_AVAILABLE
public static final int OPERATION_NOT_AVAILABLE
- See Also:
- Constant Field Values
APPLICATION_ERROR
public static final int APPLICATION_ERROR
- See Also:
- Constant Field Values
REPLICATION_ERROR
public static final int REPLICATION_ERROR
- See Also:
- Constant Field Values
SERVER_ERROR
public static final int SERVER_ERROR
- See Also:
- Constant Field Values
REPLICATION_ITEM_OUT_OF_DATE
public static final int REPLICATION_ITEM_OUT_OF_DATE
- See Also:
- Constant Field Values
DOException
public DOException(int code,
java.lang.String message)
DOException
public DOException(int code)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getErrorCode
public int getErrorCode()
lookupCode
public static final java.lang.String lookupCode(int errorCode)
getFriendlyMessageForException
public static java.lang.String getFriendlyMessageForException(java.lang.Exception e)