Package com.arbortext.epic.cms
Class CMSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.arbortext.epic.cms.CMSException
- All Implemented Interfaces:
Serializable
Defines the exception thrown by the methods and properties in the Arbortext
Object Model (AOM) that work with content management systems (CMS).
CMSException objects contain an error code, an error
message, and an optional detailed message.
The code field stores one of the
CMSExceptionCode constants to indicate the error condition.
Arbortext defines the error codes.
The message field contains a human-readable description of
the error. These messages should be localized.
The detail field contains an in-depth description of the
error that may be written to a log. The description could be something
like a Java stack trace or a detailed error description provided by the
CMS. Detailed error descriptions do not need to be localized.
- Since:
- Epic 5.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortAn adapter with the same qualified name has already been registered.static final shortAdapter failed to initialize.static final shortAdapter failed to load.static final shortInvalid argument.static final shortExtension operation does not exist.static final shortCan't allocate resource.static final shortError connecting.static final shortCan't create object.static final shortError disconnecting.static final shortCan't find program symbol.static final shortAdapter initialization failed.static final shortCan't lock object.static final shortInvalid login.static final shortCan't open object.static final shortCan't unlock object.final shortstatic final shortObject is a container.static final shortDeclarations are locked by another user.final Stringstatic final shortGeneral failure.static final shortObject is a folder.static final shortAttribute value is invalid.static final shortCMSAdapterobject is invalid (adapter may have been unloaded).static final shortCMSObjectobject is invalid (session may have been disconnected or document may have been closed).static final shortCMSSessionobject is invalid (session may have been disconnected).static final shortInvalid logical ID format.static final shortInvalid POID format.static final shortError invoking the adapter method.static final shortAdapter method call failed.static final shortObject is a leaf.static final shortObject is locked by another.static final shortObject is already locked by locker.static final shortError opening a log output device.static final shortError opening configuration file.static final shortUnable to obtain a license for the adapter.static final shortAdapter does not support nested transactions.static final shortXinclude cannot be used with SGML documents.static final shortNo more entries.static final shortObject is not a container.static final shortObject doesn't exist.static final shortOperation was canceled.static final shortMethod cannot be called in the current state.static final shortOperation failed because parent is not locked.static final shortParse error.static final shortObject is read-only.static final shortOut of resource.static final shortConnection already established for this session.static final shortSession still connected.static final shortNo more adapters can be registered.static final shortToo many open connections.static final shortUnimplemented operation.static final shortObject is locked.static final shortUnsupported attribute.static final shortThis version of the adapter is not supported. -
Constructor Summary
ConstructorsConstructorDescriptionCMSException(short code) CMSException(short code, String message) CMSException(short code, String message, String detail) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
code
public final short code -
detail
-
NO_NESTED_TRANS_ERR
public static final short NO_NESTED_TRANS_ERRAdapter does not support nested transactions.- See Also:
-
INVALID_POID_ERR
public static final short INVALID_POID_ERRInvalid POID format.- See Also:
-
INVALID_LOGID_ERR
public static final short INVALID_LOGID_ERRInvalid logical ID format.- See Also:
-
INVOKE_FAILED_ERR
public static final short INVOKE_FAILED_ERRAdapter method call failed.- See Also:
-
BAD_EXTENSION_ERR
public static final short BAD_EXTENSION_ERRExtension operation does not exist.- See Also:
-
NO_LICENSE_ERR
public static final short NO_LICENSE_ERRUnable to obtain a license for the adapter.- See Also:
-
OBJECT_NOT_FOUND_ERR
public static final short OBJECT_NOT_FOUND_ERRObject doesn't exist.- See Also:
-
NO_CONFIG_ERR
public static final short NO_CONFIG_ERRError opening configuration file.- See Also:
-
UNSUP_PROTO_ERR
public static final short UNSUP_PROTO_ERRThis version of the adapter is not supported.- See Also:
-
STILL_CONNECTED_ERR
public static final short STILL_CONNECTED_ERRSession still connected.- See Also:
-
CANT_CONNECT_ERR
public static final short CANT_CONNECT_ERRError connecting.- See Also:
-
CANT_DISCONNECT_ERR
public static final short CANT_DISCONNECT_ERRError disconnecting.- See Also:
-
CANT_LOGIN_ERR
public static final short CANT_LOGIN_ERRInvalid login.- See Also:
-
CANT_INIT_ERR
public static final short CANT_INIT_ERRAdapter initialization failed.- See Also:
-
CANT_ALLOC_ERR
public static final short CANT_ALLOC_ERRCan't allocate resource.- See Also:
-
NO_SGML_INCLUDE_ERR
public static final short NO_SGML_INCLUDE_ERRXinclude cannot be used with SGML documents.- See Also:
-
PARENT_UNLOCKED_ERR
public static final short PARENT_UNLOCKED_ERROperation failed because parent is not locked.- See Also:
-
OPERATION_CANCELED_ERR
public static final short OPERATION_CANCELED_ERROperation was canceled.- See Also:
-
DECLS_LOCKED_ERR
public static final short DECLS_LOCKED_ERRDeclarations are locked by another user.- See Also:
-
UNSUP_ATTR_ERR
public static final short UNSUP_ATTR_ERRUnsupported attribute.- See Also:
-
NOMORE_ERR
public static final short NOMORE_ERRNo more entries.- See Also:
-
UNLOCK_ERR
public static final short UNLOCK_ERRObject is locked.- See Also:
-
PARSE_ERR
public static final short PARSE_ERRParse error.- See Also:
-
RESOURCE_ERR
public static final short RESOURCE_ERROut of resource.- See Also:
-
FOLDER_ERR
public static final short FOLDER_ERRObject is a folder.- See Also:
-
READ_ONLY_ERR
public static final short READ_ONLY_ERRObject is read-only.- See Also:
-
LEAF_ERR
public static final short LEAF_ERRObject is a leaf.- See Also:
-
CONTAINER_ERR
public static final short CONTAINER_ERRObject is a container.- See Also:
-
CANT_CREATE_ERR
public static final short CANT_CREATE_ERRCan't create object.- See Also:
-
CANT_UNLOCK_ERR
public static final short CANT_UNLOCK_ERRCan't unlock object.- See Also:
-
CANT_LOCK_ERR
public static final short CANT_LOCK_ERRCan't lock object.- See Also:
-
CANT_OPEN_ERR
public static final short CANT_OPEN_ERRCan't open object.- See Also:
-
BAD_ARG_ERR
public static final short BAD_ARG_ERRInvalid argument.- See Also:
-
UNIMP_ERR
public static final short UNIMP_ERRUnimplemented operation.- See Also:
-
FAIL_ERR
public static final short FAIL_ERRGeneral failure.- See Also:
-
NOT_CONTAINER_ERR
public static final short NOT_CONTAINER_ERRObject is not a container.- See Also:
-
LOCKED_BY_YOU_ERR
public static final short LOCKED_BY_YOU_ERRObject is already locked by locker.- See Also:
-
LOCKED_BY_OTHER_ERR
public static final short LOCKED_BY_OTHER_ERRObject is locked by another.- See Also:
-
TOO_MANY_SESSIONS_ERR
public static final short TOO_MANY_SESSIONS_ERRToo many open connections.- See Also:
-
TOO_MANY_ADAPTERS_ERR
public static final short TOO_MANY_ADAPTERS_ERRNo more adapters can be registered.- See Also:
-
SESS_PREFIX_EXISTS_ERR
public static final short SESS_PREFIX_EXISTS_ERRConnection already established for this session.- See Also:
-
ADAPTER_INIT_FAILED_ERR
public static final short ADAPTER_INIT_FAILED_ERRAdapter failed to initialize.- See Also:
-
CANT_FIND_SYM_ERR
public static final short CANT_FIND_SYM_ERRCan't find program symbol.- See Also:
-
ADAPTER_LOAD_FAILED_ERR
public static final short ADAPTER_LOAD_FAILED_ERRAdapter failed to load.- See Also:
-
INVALID_ATTR_ERR
public static final short INVALID_ATTR_ERRAttribute value is invalid.- See Also:
-
INVOCATION_FAILED_ERR
public static final short INVOCATION_FAILED_ERRError invoking the adapter method.- See Also:
-
LOG_ERR
public static final short LOG_ERRError opening a log output device.- See Also:
-
INVALID_CMSADAPTER_ERR
public static final short INVALID_CMSADAPTER_ERRCMSAdapterobject is invalid (adapter may have been unloaded).- See Also:
-
INVALID_CMSSESSION_ERR
public static final short INVALID_CMSSESSION_ERRCMSSessionobject is invalid (session may have been disconnected).- See Also:
-
INVALID_CMSOBJECT_ERR
public static final short INVALID_CMSOBJECT_ERRCMSObjectobject is invalid (session may have been disconnected or document may have been closed).- See Also:
-
ADAPTER_ALREADY_REGISTERED_ERR
public static final short ADAPTER_ALREADY_REGISTERED_ERRAn adapter with the same qualified name has already been registered.- See Also:
-
OPERATION_NOT_ENABLED_ERR
public static final short OPERATION_NOT_ENABLED_ERRMethod cannot be called in the current state. Some adapters support more than one mode, such as online versus offline editing, and not all operations are allowed in every mode. For example, you might not be able to create new CMS folders while working offline.- See Also:
-
-
Constructor Details
-
CMSException
-
CMSException
-
CMSException
public CMSException(short code)
-