Class CMSException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.arbortext.epic.cms.CMSException
All Implemented Interfaces:
Serializable

public class CMSException extends Exception
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 Details

    • code

      public final short code
    • detail

      public final String detail
    • NO_NESTED_TRANS_ERR

      public static final short NO_NESTED_TRANS_ERR
      Adapter does not support nested transactions.
      See Also:
    • INVALID_POID_ERR

      public static final short INVALID_POID_ERR
      Invalid POID format.
      See Also:
    • INVALID_LOGID_ERR

      public static final short INVALID_LOGID_ERR
      Invalid logical ID format.
      See Also:
    • INVOKE_FAILED_ERR

      public static final short INVOKE_FAILED_ERR
      Adapter method call failed.
      See Also:
    • BAD_EXTENSION_ERR

      public static final short BAD_EXTENSION_ERR
      Extension operation does not exist.
      See Also:
    • NO_LICENSE_ERR

      public static final short NO_LICENSE_ERR
      Unable to obtain a license for the adapter.
      See Also:
    • OBJECT_NOT_FOUND_ERR

      public static final short OBJECT_NOT_FOUND_ERR
      Object doesn't exist.
      See Also:
    • NO_CONFIG_ERR

      public static final short NO_CONFIG_ERR
      Error opening configuration file.
      See Also:
    • UNSUP_PROTO_ERR

      public static final short UNSUP_PROTO_ERR
      This version of the adapter is not supported.
      See Also:
    • STILL_CONNECTED_ERR

      public static final short STILL_CONNECTED_ERR
      Session still connected.
      See Also:
    • CANT_CONNECT_ERR

      public static final short CANT_CONNECT_ERR
      Error connecting.
      See Also:
    • CANT_DISCONNECT_ERR

      public static final short CANT_DISCONNECT_ERR
      Error disconnecting.
      See Also:
    • CANT_LOGIN_ERR

      public static final short CANT_LOGIN_ERR
      Invalid login.
      See Also:
    • CANT_INIT_ERR

      public static final short CANT_INIT_ERR
      Adapter initialization failed.
      See Also:
    • CANT_ALLOC_ERR

      public static final short CANT_ALLOC_ERR
      Can't allocate resource.
      See Also:
    • NO_SGML_INCLUDE_ERR

      public static final short NO_SGML_INCLUDE_ERR
      Xinclude cannot be used with SGML documents.
      See Also:
    • PARENT_UNLOCKED_ERR

      public static final short PARENT_UNLOCKED_ERR
      Operation failed because parent is not locked.
      See Also:
    • OPERATION_CANCELED_ERR

      public static final short OPERATION_CANCELED_ERR
      Operation was canceled.
      See Also:
    • DECLS_LOCKED_ERR

      public static final short DECLS_LOCKED_ERR
      Declarations are locked by another user.
      See Also:
    • UNSUP_ATTR_ERR

      public static final short UNSUP_ATTR_ERR
      Unsupported attribute.
      See Also:
    • NOMORE_ERR

      public static final short NOMORE_ERR
      No more entries.
      See Also:
    • UNLOCK_ERR

      public static final short UNLOCK_ERR
      Object is locked.
      See Also:
    • PARSE_ERR

      public static final short PARSE_ERR
      Parse error.
      See Also:
    • RESOURCE_ERR

      public static final short RESOURCE_ERR
      Out of resource.
      See Also:
    • FOLDER_ERR

      public static final short FOLDER_ERR
      Object is a folder.
      See Also:
    • READ_ONLY_ERR

      public static final short READ_ONLY_ERR
      Object is read-only.
      See Also:
    • LEAF_ERR

      public static final short LEAF_ERR
      Object is a leaf.
      See Also:
    • CONTAINER_ERR

      public static final short CONTAINER_ERR
      Object is a container.
      See Also:
    • CANT_CREATE_ERR

      public static final short CANT_CREATE_ERR
      Can't create object.
      See Also:
    • CANT_UNLOCK_ERR

      public static final short CANT_UNLOCK_ERR
      Can't unlock object.
      See Also:
    • CANT_LOCK_ERR

      public static final short CANT_LOCK_ERR
      Can't lock object.
      See Also:
    • CANT_OPEN_ERR

      public static final short CANT_OPEN_ERR
      Can't open object.
      See Also:
    • BAD_ARG_ERR

      public static final short BAD_ARG_ERR
      Invalid argument.
      See Also:
    • UNIMP_ERR

      public static final short UNIMP_ERR
      Unimplemented operation.
      See Also:
    • FAIL_ERR

      public static final short FAIL_ERR
      General failure.
      See Also:
    • NOT_CONTAINER_ERR

      public static final short NOT_CONTAINER_ERR
      Object is not a container.
      See Also:
    • LOCKED_BY_YOU_ERR

      public static final short LOCKED_BY_YOU_ERR
      Object is already locked by locker.
      See Also:
    • LOCKED_BY_OTHER_ERR

      public static final short LOCKED_BY_OTHER_ERR
      Object is locked by another.
      See Also:
    • TOO_MANY_SESSIONS_ERR

      public static final short TOO_MANY_SESSIONS_ERR
      Too many open connections.
      See Also:
    • TOO_MANY_ADAPTERS_ERR

      public static final short TOO_MANY_ADAPTERS_ERR
      No more adapters can be registered.
      See Also:
    • SESS_PREFIX_EXISTS_ERR

      public static final short SESS_PREFIX_EXISTS_ERR
      Connection already established for this session.
      See Also:
    • ADAPTER_INIT_FAILED_ERR

      public static final short ADAPTER_INIT_FAILED_ERR
      Adapter failed to initialize.
      See Also:
    • CANT_FIND_SYM_ERR

      public static final short CANT_FIND_SYM_ERR
      Can't find program symbol.
      See Also:
    • ADAPTER_LOAD_FAILED_ERR

      public static final short ADAPTER_LOAD_FAILED_ERR
      Adapter failed to load.
      See Also:
    • INVALID_ATTR_ERR

      public static final short INVALID_ATTR_ERR
      Attribute value is invalid.
      See Also:
    • INVOCATION_FAILED_ERR

      public static final short INVOCATION_FAILED_ERR
      Error invoking the adapter method.
      See Also:
    • LOG_ERR

      public static final short LOG_ERR
      Error opening a log output device.
      See Also:
    • INVALID_CMSADAPTER_ERR

      public static final short INVALID_CMSADAPTER_ERR
      CMSAdapter object is invalid (adapter may have been unloaded).
      See Also:
    • INVALID_CMSSESSION_ERR

      public static final short INVALID_CMSSESSION_ERR
      CMSSession object is invalid (session may have been disconnected).
      See Also:
    • INVALID_CMSOBJECT_ERR

      public static final short INVALID_CMSOBJECT_ERR
      CMSObject object 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_ERR
      An adapter with the same qualified name has already been registered.
      See Also:
    • OPERATION_NOT_ENABLED_ERR

      public static final short OPERATION_NOT_ENABLED_ERR
      Method 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

      public CMSException(short code, String message, String detail)
    • CMSException

      public CMSException(short code, String message)
    • CMSException

      public CMSException(short code)