Package com.arbortext.epic.io
Class IOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.arbortext.epic.io.IOException
- All Implemented Interfaces:
Serializable
Defines the exceptions thrown by content management system (CMS) adapters
to notify Editor that an error has occurred.
IOException
contains an error code, an error message, and an optional detailed error
description.
The code field contains the Arbortext-supplied
IOExceptionCode constant for the error condition. The
message field contains a short description of the error.
This message is generated by either the adapter or the associated CMS
and should be localized. The detail field contains a longer
description of the error that may be written to a log. For example, this
description could contain 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 shortThe object is already locked by the user requesting a lock.static final shortThe specified attribute is read-only.static final shortThe specified attribute is not supported by the adapter.static final shortAn invalid argument was passed to a method.static final shortThe requested extension operation does not exist.static final shortA resource allocation failed.static final shortAn attempt to connect to the CMS failed (not due to invalid credentials).static final shortAn attempt to create an object failed.static final shortAn attempt to disconnect from the CMS failed.static final shortAn initialization failed.static final shortAn attempt to lock an object failed.static final shortAn attempt to open an object failed.static final shortAn attempt to parse an XML or SGML object failed.static final shortAn attempt to unlock an object failed.final shortstatic final shortThe SGML declarations are locked by another user.final Stringstatic final shortA requested folder was not found in the CMS.static final shortThe user name, password, or other credentials were not valid.static final shortA Logical ID did not have the correct format.static final shortA Persistent Object Identifier (POID) did not have the correct format.static final shortThe object is already locked by another user.static final shortThe configuration file was not found.static final shortAn attempt to obtain a license failed.static final shortThere are no more entries to retrieve.static final shortThe adapter does not support nested transactions.static final shortThe requested operation is not implemented by the adapter.static final shortThe requested operation cannot be performed, because the object is a folder.static final shortThe object must be unlocked to proceed.static final shortThe requested operation cannot be performed, because the object is not a container.static final shortAn object, identified by its Persistent Object Identifier (POID) or Logical ID, was not found in the CMS.static final shortThe requested operation cannot be performed, because the object is not a leaf.static final shortThe requested operation was cancelled by the user.static final shortThe requested operation failed.static final shortMethod cannot be called in the current state.static final shortAn attempt to create a new object failed, because the parent object is not locked.static final shortAn attempt to reconnect to an already active session or to terminate the adapter with sessions still active. -
Constructor Summary
ConstructorsConstructorDescriptionIOException(short code) IOException(short code, String message) IOException(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
-
OPERATION_FAILED_ERR
public static final short OPERATION_FAILED_ERRThe requested operation failed.- See Also:
-
OPERATION_CANCELLED_ERR
public static final short OPERATION_CANCELLED_ERRThe requested operation was cancelled by the user.- See Also:
-
NOT_IMPLEMENTED_ERR
public static final short NOT_IMPLEMENTED_ERRThe requested operation is not implemented by the adapter.- See Also:
-
BAD_ARG_ERR
public static final short BAD_ARG_ERRAn invalid argument was passed to a method.- See Also:
-
CANT_ALLOC_ERR
public static final short CANT_ALLOC_ERRA resource allocation failed.- See Also:
-
CANT_INIT_ERR
public static final short CANT_INIT_ERRAn initialization failed.- See Also:
-
NO_LICENSE_ERR
public static final short NO_LICENSE_ERRAn attempt to obtain a license failed.- See Also:
-
BAD_EXTENSION_ERR
public static final short BAD_EXTENSION_ERRThe requested extension operation does not exist.- See Also:
-
CANT_CONNECT_ERR
public static final short CANT_CONNECT_ERRAn attempt to connect to the CMS failed (not due to invalid credentials).- See Also:
-
INVALID_CREDENTIALS_ERR
public static final short INVALID_CREDENTIALS_ERRThe user name, password, or other credentials were not valid.- See Also:
-
STILL_CONNECTED_ERR
public static final short STILL_CONNECTED_ERRAn attempt to reconnect to an already active session or to terminate the adapter with sessions still active.- See Also:
-
CANT_DISCONNECT_ERR
public static final short CANT_DISCONNECT_ERRAn attempt to disconnect from the CMS failed.- See Also:
-
NO_CONFIG_ERR
public static final short NO_CONFIG_ERRThe configuration file was not found.
This error code is deprecated. New adapter implementations should, instead, simply returnnullfromIOSession.loadConfiguration()when the requested configuration data is not available.- See Also:
-
OBJECT_NOT_FOUND_ERR
public static final short OBJECT_NOT_FOUND_ERRAn object, identified by its Persistent Object Identifier (POID) or Logical ID, was not found in the CMS.- See Also:
-
INVALID_LOGICAL_ID_ERR
public static final short INVALID_LOGICAL_ID_ERRA Logical ID did not have the correct format.- See Also:
-
INVALID_POID_ERR
public static final short INVALID_POID_ERRA Persistent Object Identifier (POID) did not have the correct format.- See Also:
-
NO_NESTED_TRANS_ERR
public static final short NO_NESTED_TRANS_ERRThe adapter does not support nested transactions.- 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:
-
CANT_OPEN_ERR
public static final short CANT_OPEN_ERRAn attempt to open an object failed.- See Also:
-
CANT_CREATE_ERR
public static final short CANT_CREATE_ERRAn attempt to create an object failed.- See Also:
-
PARENT_NOT_LOCKED_ERR
public static final short PARENT_NOT_LOCKED_ERRAn attempt to create a new object failed, because the parent object is not locked.- See Also:
-
DECLS_LOCKED_ERR
public static final short DECLS_LOCKED_ERRThe SGML declarations are locked by another user.- See Also:
-
OBJECT_IS_LOCKED_ERR
public static final short OBJECT_IS_LOCKED_ERRThe object must be unlocked to proceed.- See Also:
-
CANT_LOCK_ERR
public static final short CANT_LOCK_ERRAn attempt to lock an object failed.- See Also:
-
LOCKED_BY_OTHER_ERR
public static final short LOCKED_BY_OTHER_ERRThe object is already locked by another user.- See Also:
-
ALREADY_LOCKED_ERR
public static final short ALREADY_LOCKED_ERRThe object is already locked by the user requesting a lock.- See Also:
-
CANT_UNLOCK_ERR
public static final short CANT_UNLOCK_ERRAn attempt to unlock an object failed.- See Also:
-
OBJECT_NOT_CONTAINER_ERR
public static final short OBJECT_NOT_CONTAINER_ERRThe requested operation cannot be performed, because the object is not a container.- See Also:
-
OBJECT_NOT_LEAF_ERR
public static final short OBJECT_NOT_LEAF_ERRThe requested operation cannot be performed, because the object is not a leaf.- See Also:
-
OBJECT_IS_FOLDER_ERR
public static final short OBJECT_IS_FOLDER_ERRThe requested operation cannot be performed, because the object is a folder.- See Also:
-
CANT_PARSE_ERR
public static final short CANT_PARSE_ERRAn attempt to parse an XML or SGML object failed.- See Also:
-
FOLDER_NOT_FOUND_ERR
public static final short FOLDER_NOT_FOUND_ERRA requested folder was not found in the CMS.- Since:
- Arbortext 6.0 M020
- See Also:
-
ATTR_UNSUPPORTED_ERR
public static final short ATTR_UNSUPPORTED_ERRThe specified attribute is not supported by the adapter.- See Also:
-
ATTR_READ_ONLY_ERR
public static final short ATTR_READ_ONLY_ERRThe specified attribute is read-only.- See Also:
-
NO_MORE_ELEMENTS_ERR
public static final short NO_MORE_ELEMENTS_ERRThere are no more entries to retrieve.- See Also:
-
-
Constructor Details
-
IOException
-
IOException
-
IOException
public IOException(short code)
-