org.oclc.da.gdfr.registryprototype.exceptions
Class RegistryExceptionCodes
java.lang.Object
org.oclc.da.gdfr.registryprototype.exceptions.RegistryExceptionCodes
public class RegistryExceptionCodes
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
formatMessage(int code,
java.lang.String[] args)
|
static java.lang.String |
getExceptionCodeName(int code)
|
protected static void |
loadCode(int c,
java.lang.String n,
java.lang.String m)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTIPLE
public static final int MULTIPLE
- This class defines all the error codes, short names and messages
that exceptions thrown can hold.
- See Also:
- Constant Field Values
UNEXPECTED_SYSTEM_ERROR
public static final int UNEXPECTED_SYSTEM_ERROR
- See Also:
- Constant Field Values
UNAUTHORIZED_USER
public static final int UNAUTHORIZED_USER
- See Also:
- Constant Field Values
INVALID_EMAIL
public static final int INVALID_EMAIL
- See Also:
- Constant Field Values
MUST_EXIST
public static final int MUST_EXIST
- See Also:
- Constant Field Values
MUST_NOT_EXIST
public static final int MUST_NOT_EXIST
- See Also:
- Constant Field Values
ERROR_CREATING
public static final int ERROR_CREATING
- See Also:
- Constant Field Values
MUST_NOT_BE_NULL
public static final int MUST_NOT_BE_NULL
- See Also:
- Constant Field Values
MUST_BE_UNIQUE
public static final int MUST_BE_UNIQUE
- See Also:
- Constant Field Values
MUST_BE_MORE_RECENT
public static final int MUST_BE_MORE_RECENT
- See Also:
- Constant Field Values
MUST_BE_VALID
public static final int MUST_BE_VALID
- See Also:
- Constant Field Values
MUST_BE_VALID_URL
public static final int MUST_BE_VALID_URL
- See Also:
- Constant Field Values
IO_ERROR
public static final int IO_ERROR
- See Also:
- Constant Field Values
INTERRUPTED_PROCESS
public static final int INTERRUPTED_PROCESS
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
- See Also:
- Constant Field Values
INVOCATION_ERROR
public static final int INVOCATION_ERROR
- See Also:
- Constant Field Values
UNSUPPORTED_QUERY
public static final int UNSUPPORTED_QUERY
- See Also:
- Constant Field Values
VALIDATION_ERRORS
public static final int VALIDATION_ERRORS
- See Also:
- Constant Field Values
PARSE_ERROR
public static final int PARSE_ERROR
- See Also:
- Constant Field Values
INVALID_RECORD
public static final int INVALID_RECORD
- See Also:
- Constant Field Values
MISSING_ARGUMENT
public static final int MISSING_ARGUMENT
- See Also:
- Constant Field Values
INVALID_ARGUMENT
public static final int INVALID_ARGUMENT
- See Also:
- Constant Field Values
INVALID_PROPERTY
public static final int INVALID_PROPERTY
- See Also:
- Constant Field Values
MISSING_PROPERTY
public static final int MISSING_PROPERTY
- See Also:
- Constant Field Values
MISSING_ATTRIBUTE
public static final int MISSING_ATTRIBUTE
- See Also:
- Constant Field Values
SQL_ERROR
public static final int SQL_ERROR
- See Also:
- Constant Field Values
XML_DB_READ_ERROR
public static final int XML_DB_READ_ERROR
- See Also:
- Constant Field Values
XML_DB_UPDATE_ERROR
public static final int XML_DB_UPDATE_ERROR
- See Also:
- Constant Field Values
XML_DB_DELETE_ERROR
public static final int XML_DB_DELETE_ERROR
- See Also:
- Constant Field Values
XML_DB_ADD_ERROR
public static final int XML_DB_ADD_ERROR
- See Also:
- Constant Field Values
XML_DB_READ_ADMIN_ERROR
public static final int XML_DB_READ_ADMIN_ERROR
- See Also:
- Constant Field Values
XML_DB_READ_CONTENT_ERROR
public static final int XML_DB_READ_CONTENT_ERROR
- See Also:
- Constant Field Values
XML_DB_SEARCH_ERROR
public static final int XML_DB_SEARCH_ERROR
- See Also:
- Constant Field Values
XML_DB_INDEX_ERROR
public static final int XML_DB_INDEX_ERROR
- See Also:
- Constant Field Values
XML_DB_CREATE_CONTAINER_ERROR
public static final int XML_DB_CREATE_CONTAINER_ERROR
- See Also:
- Constant Field Values
XML_DB_DELETE_CONTAINER_ERROR
public static final int XML_DB_DELETE_CONTAINER_ERROR
- See Also:
- Constant Field Values
XML_PARSE_ERROR
public static final int XML_PARSE_ERROR
- See Also:
- Constant Field Values
INVALID_GUID
public static final int INVALID_GUID
- See Also:
- Constant Field Values
INVALID_XML
public static final int INVALID_XML
- See Also:
- Constant Field Values
XPATH_ERROR
public static final int XPATH_ERROR
- See Also:
- Constant Field Values
CQL_PARSE_ERROR
public static final int CQL_PARSE_ERROR
- See Also:
- Constant Field Values
INVALID_CQL_INDEX
public static final int INVALID_CQL_INDEX
- See Also:
- Constant Field Values
UNSUPPORTED_CQL_NODE
public static final int UNSUPPORTED_CQL_NODE
- See Also:
- Constant Field Values
MISSING_PROFILE
public static final int MISSING_PROFILE
- See Also:
- Constant Field Values
NOT_COMPARABLE_TYPE
public static final int NOT_COMPARABLE_TYPE
- See Also:
- Constant Field Values
BASE64_DECODE_ERROR
public static final int BASE64_DECODE_ERROR
- See Also:
- Constant Field Values
BASE64_ENCODE_ERROR
public static final int BASE64_ENCODE_ERROR
- See Also:
- Constant Field Values
RegistryExceptionCodes
protected RegistryExceptionCodes()
getExceptionCodeName
public static java.lang.String getExceptionCodeName(int code)
formatMessage
public static java.lang.String formatMessage(int code,
java.lang.String[] args)
loadCode
protected static void loadCode(int c,
java.lang.String n,
java.lang.String m)
Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.