| Package | com.adobe.repository |
| Class | public class RepositoryException |
| Inheritance | RepositoryException Exception
|
RepositoryException contains an error code that determines the cause and location of the exception.
| Method | Defined by | ||
|---|---|---|---|
|
RepositoryException(int moduleCode, String message)
A constructor that uses a module code, which is used to determine the failure type associated with this exception.
| RepositoryException | ||
|
RepositoryException(int moduleCode, String message, Throwable cause)
| RepositoryException | ||
|
RepositoryException(int moduleCode)
A constructor that uses a module code, which is used to determine the failure type associated with this exception.
| RepositoryException | ||
|
RepositoryException(int moduleCode, Object[] messageArgs)
A constructor that uses a module code, which is used to determine the failure type associated with this exception.
| RepositoryException | ||
|
RepositoryException(int moduleCode, Throwable cause)
A constructor that uses the module code, which is used to determine the failure type associated with this exception, and the
cause. | RepositoryException | ||
|
RepositoryException(int moduleCode, Throwable cause, Object[] messageArgs)
A constructor that uses the module code, which is used to determine the failure type associated with this exception, the
cause, and the messageArgs that are applied to the substitution variables in the message bundle string. | RepositoryException | ||
|
Throwable getCause()
Retrieves the cause of this exception.
| RepositoryException | ||
|
String getErrorCode()
Retrieves the Repository error code for this exception.
| RepositoryException | ||
|
int getLocalCode()
Retrieves the local code for this exception.
| RepositoryException | ||
|
String getMessage()
Retrieves the detailed message of this
Throwable instance. | RepositoryException | ||
|
int getModuleCode()
Retrieves the module code for this exception.
| RepositoryException | ||
|
void printStackTrace(PrintStream printStream)
If the exception was serialized, and the cause was lost append the stored messages to the trace.
| RepositoryException | ||
|
void printStackTrace(PrintWriter printWriter)
If the exception was serialized, and the cause was lost append the stored messages to the trace.
| RepositoryException | ||
|
void setLocalCode(int localCode)
Sets the local code for this exception.
| RepositoryException | ||
|
void setMessageArgs(Object[] args)
Sets the arguments that will be applied to the message string.
| RepositoryException | ||
|
void setModuleCode(int moduleCode)
Sets the module code for this exception.
| RepositoryException | ||
| Constant | Defined by | ||
|---|---|---|---|
| E_BAD_CALL_MEMBER_OF
[static] Bad call using a member of relation.
| RepositoryException | ||
| E_BAD_MAJOR_MINOR_COMBO
[static] Bad major/minor version combination
[[major].[minor]]. | RepositoryException | ||
| E_BAD_RESOURCE_NAME
[static] The supplied resource name contains the following invalid characters:
[string of invalid characters]. | RepositoryException | ||
| E_BAD_STATUS_LATEST_TO_UPDATED
[static] The user attempted to change the status of a resource from latest to updated when it is the latest version of the logical resource.
| RepositoryException | ||
| E_BAD_STATUS_OTHERLATEST_TO_UPDATED
[static] The user attempted to change the status of a resource from other to updated when the resource is the latest version of the logical resource.
| RepositoryException | ||
| E_BAD_STATUS_OTHERUPDATED_TO_LATEST
[static] The object status was changed from other updated to latest when it is not the latest version of the logical resource.
| RepositoryException | ||
| E_BAD_STATUS_UPDATED_TO_LATEST
[static] The user attempted to change the status of a resource from updated to latest when it is not the latest version of the logical resource.
| RepositoryException | ||
| E_CACHE_EXCEPTION
[static] Cache exception
| RepositoryException | ||
| E_COULD_NOT_EXTRACT_METADATA
[static] Could not extract metadata.
| RepositoryException | ||
| E_COULD_NOT_INSTANTIATE_METADATA_EXTRACTOR
[static] Could not instantiate a metadata extractor for
[mimeType]. | RepositoryException | ||
| E_DSC_EXCEPTION
[static] DSC exception.
| RepositoryException | ||
| E_EXCEPTION
[static] Wraps a generic
java.lang.Exception. | RepositoryException | ||
| E_EXCLUSIVE_LOCK_EXISTS
[static] The resource
[resourceUri] is exclusive-locked by user [userId]. | RepositoryException | ||
| E_FAILED_TO_DESRIALIZE_USER_CONTEXT
[static] Context deserialization failed and returned a
null user context. | RepositoryException | ||
| E_FILE_NOT_FOUND_OR_NO_ACCESS
[static] Resource
[resourceUri] does not exist or you do not have sufficient rights to access it. | RepositoryException | ||
| E_IMMUTABLE_ATTRIBUTE
[static] Attribute
[attributeName] is immutable. | RepositoryException | ||
| E_IMMUTABLE_PROPERTY
[static] The resource property
[propertyName] in namespace [propertyNamespace] is immutable. | RepositoryException | ||
| E_INCORRECT_VERSION_FORMAT
[static] The format of the value of the URL parameter
[rv|cv] is incorrect. | RepositoryException | ||
| E_INVALID_DEPTH
[static] Invalid depth value
[value]. | RepositoryException | ||
| E_INVALID_LOCK_DEPTH
[static] Invalid lock depth.
| RepositoryException | ||
| E_INVALID_LOCK_SCOPE
[static] Invalid lock scope.
| RepositoryException | ||
| E_INVALID_VALUE
[static] Value
[paramValue] is not valid for parameter [paramName]. | RepositoryException | ||
| E_INVALID_XML_NCNAME
[static] Value
[paramValue] is not a valid XML NCName. | RepositoryException | ||
| E_IO_EXCEPTION
[static] I/O exception.
| RepositoryException | ||
| E_LOCKED_BY_OTHER
[static] Resource
[resourceUri] is locked by user [userName]. | RepositoryException | ||
| E_LOCK_NOT_FOUND
[static] A lock could not be found for resource
[resourceUri]. | RepositoryException | ||
| E_MAJORVER_IN_USE
[static] Unable to increment major version because version
[[major].0] already exists. | RepositoryException | ||
| E_MINORVER_IN_USE
[static] Unable to increment minor version because version
[[major].[minor]] already exists. | RepositoryException | ||
| E_MUST_BE_A_PATH
[static] The resource URI
[resourceUri] must be a path. | RepositoryException | ||
| E_NO_ACCESS
[static] User access to the resource is not allowed for the permission request.
| RepositoryException | ||
| E_NO_LOCK_TOKEN
[static] No lock token submitted for locked resource
[resourceUri]. | RepositoryException | ||
| E_NO_METADATA_EXTRACTOR_REGISTERED
[static] There is no metadata extractor registered for
[mimeType]. | RepositoryException | ||
| E_NOT_AN_APPLICATION
[static] Resource
[applicationUri] is not a LiveCycle application. | RepositoryException | ||
| E_NOT_A_PATH
[static] When writing a new com.adobe.repository.infomodel.bean.Relation, a path-based identifier must be specified to identify the parent com.adobe.repository.infomodel.bean.ResourceCollection.
| RepositoryException | ||
| E_NOT_A_RESOURCE_COLLECTION
[static] The destination
[resourceCollectionPath] is not a resource collection. | RepositoryException | ||
| E_NOT_A_RESOURCE_OR_RESOURCE_COLLECTION
[static] The path
[targetResourceCollectionPath] does not identify a resource or resource collection. | RepositoryException | ||
| E_NOT_A_VERION_OF_THIS_RESOURCE
[static] The specified resource identifier (
[resourceId]) is not a version of the resource you wish to update. | RepositoryException | ||
| E_NULL_ELEMENT
[static] Array elements of parameter
[paramName] cannot be null. | RepositoryException | ||
| E_NULL_PARAM
[static] Parameter
[paramName] cannot be null. | RepositoryException | ||
| E_PERM_EXCEPTION
[static] The User Manager permissions were not loaded.
| RepositoryException | ||
| E_POF_EXCEPTION
[static] Wraps a POFException
| RepositoryException | ||
| E_PROPERTY_NOT_NULLABLE
[static] The resource property
[propertyName] in namespace [propertyNamespace] cannot be assigned a null value or be removed. | RepositoryException | ||
| E_RELATION_NOT_FOUND
[static] The relation with the source URI
[sourceUri], the target URI [targetUri], and type of [typeValue] does not exist or you do not have sufficient rights to access it. | RepositoryException | ||
| E_REMOTE_EXCEPTION
[static] Wraps a
java.rmi.RemoteException. | RepositoryException | ||
| E_RESERVED_NAMESPACE
[static] Property
[name] cannot be added to reserved namespace [namespace]. | RepositoryException | ||
| E_RESERVED_VALUE
[static] Value
[value] is reserved for future use for attribute [attributeName]. | RepositoryException | ||
| E_RESERVED_VALUE_RANGE
[static] Values
[startValue]-[endValue] (inclusive) are reserved for future use for attribute [attributeName]. | RepositoryException | ||
| E_RESOURCE_EXISTS
[static] A resource exists at URI
[targetResourceUri]. | RepositoryException | ||
| E_RESOURCE_IS_A_SYSTEM_PATH
[static] The specified source URI is a system resource collection, and cannot be moved or copied.
| RepositoryException | ||
| E_RESOURCE_IS_A_VERSION
[static] Two versions of the same resource cannot be made to relate in this manner.
| RepositoryException | ||
| E_RESOURCE_MANAGER_EXCEPTION
[static] Wraps a ResourceManagerException
| RepositoryException | ||
| E_SHARED_LOCK_EXISTS
[static] The resource
[resourceUri] is share-locked by user [userId]. | RepositoryException | ||
| E_SYSTEM_PATH_MAY_NOT_BE_DELETED
[static]
[path] is a system object and cannot be deleted. | RepositoryException | ||
| E_SYSTEM_PATH_MAY_NOT_BE_UPDATED
[static]
[resourceUri] is a system object and cannot be updated. | RepositoryException | ||
| E_TYPE_MISMATCH
[static] Type mismatch: A com.adobe.repository.infomodel.bean.Resource must be updated with a com.adobe.repository.infomodel.bean.Resource of the same type.
| RepositoryException | ||
| E_UM_EXCEPTION
[static] Wraps a com.adobe.idp.um.api.UMException.
| RepositoryException | ||
| E_UNABLE_TO_PARSE_FILE
[static] Unable to parse the XMP metadata in the data stream.
| RepositoryException | ||
| RepositoryException | () |
public RepositoryException(int moduleCode, String message)A constructor that uses a module code, which is used to determine the failure type associated with this exception.
ParametersmoduleCode — The module code used to determine the failure type associated with this exception. |
|
message — The message that describes the exception being thrown |
| RepositoryException | () |
public RepositoryException(int moduleCode, String message, Throwable cause) Parameters
moduleCode — The module code used to determine the failure type associated with this exception. |
|
message — The message that describes the exception being thrown |
|
cause — The root cause of the exception |
| RepositoryException | () |
public RepositoryException(int moduleCode)A constructor that uses a module code, which is used to determine the failure type associated with this exception.
ParametersmoduleCode — The module code used to determine the failure type associated with this exception. |
| RepositoryException | () |
public RepositoryException(int moduleCode, Object[] messageArgs)A constructor that uses a module code, which is used to determine the failure type associated with this exception. messageArgs are applied to the substitution variables in the message bundle string.
moduleCode — The module code used to determine the failure type associated with this exception. |
|
messageArgs — The arguments for the message. |
| RepositoryException | () |
public RepositoryException(int moduleCode, Throwable cause)A constructor that uses the module code, which is used to determine the failure type associated with this exception, and the cause.
moduleCode — The module code associated with this excpetion. |
|
cause — The cause of this exception. |
| RepositoryException | () |
public RepositoryException(int moduleCode, Throwable cause, Object[] messageArgs)A constructor that uses the module code, which is used to determine the failure type associated with this exception, the cause, and the messageArgs that are applied to the substitution variables in the message bundle string.
moduleCode — The module code associated with this exception. |
|
cause — The cause of this exception. |
|
messageArgs — The arguments for the message. |
| getCause | () |
public Throwable getCause()Retrieves the cause of this exception.
Returns| The cause of the exception. |
| getErrorCode | () |
public String getErrorCode()Retrieves the Repository error code for this exception.
Returns| The Repository error code for this exception. |
| getLocalCode | () |
public int getLocalCode()Retrieves the local code for this exception. The local code provides additional information about the nature of the failure that caused the exception.
For example, this method would return 1 if the error code was ALC-REP-018-001.
| The local code for this exception. |
| getMessage | () |
public String getMessage()Retrieves the detailed message of this Throwable instance.
The detailed message string of this Throwable instance. It may be null. |
| getModuleCode | () |
public int getModuleCode()Retrieves the module code for this exception.
For example, this method would return 18 if the error code was ALC-REP-018-000.
| The module code associated with this exception. |
| printStackTrace | () |
public void printStackTrace(PrintStream printStream)If the exception was serialized, and the cause was lost append the stored messages to the trace.
Parameters
printStream |
| printStackTrace | () |
public void printStackTrace(PrintWriter printWriter)If the exception was serialized, and the cause was lost append the stored messages to the trace.
Parameters
printWriter |
| setLocalCode | () |
public void setLocalCode(int localCode)Sets the local code for this exception. The local code provides additional information about the nature of the failure that caused the exception.
Parameters
localCode — The local code for this exception. |
| setMessageArgs | () |
public void setMessageArgs(Object[] args)Sets the arguments that will be applied to the message string.
Parameters
args — The arguments that will be applied to the message string. |
| setModuleCode | () |
public void setModuleCode(int moduleCode)Sets the module code for this exception.
Parameters
moduleCode — The module code associated with this exception. |
| E_BAD_CALL_MEMBER_OF | Constant |
public static final E_BAD_CALL_MEMBER_OFBad call using a member of relation. Relationships of type Relation.TYPE_MEMBER_OF must be manipulated through calls to ResourceRepository.deleteResource() and ResourceRepository.writeResource().
| E_BAD_MAJOR_MINOR_COMBO | Constant |
public static final E_BAD_MAJOR_MINOR_COMBOBad major/minor version combination [[major].[minor]].
| E_BAD_RESOURCE_NAME | Constant |
public static final E_BAD_RESOURCE_NAMEThe supplied resource name contains the following invalid characters: [string of invalid characters].
| E_BAD_STATUS_LATEST_TO_UPDATED | Constant |
public static final E_BAD_STATUS_LATEST_TO_UPDATEDThe user attempted to change the status of a resource from latest to updated when it is the latest version of the logical resource.
| E_BAD_STATUS_OTHERLATEST_TO_UPDATED | Constant |
public static final E_BAD_STATUS_OTHERLATEST_TO_UPDATEDThe user attempted to change the status of a resource from other to updated when the resource is the latest version of the logical resource.
| E_BAD_STATUS_OTHERUPDATED_TO_LATEST | Constant |
public static final E_BAD_STATUS_OTHERUPDATED_TO_LATESTThe object status was changed from other updated to latest when it is not the latest version of the logical resource.
| E_BAD_STATUS_UPDATED_TO_LATEST | Constant |
public static final E_BAD_STATUS_UPDATED_TO_LATESTThe user attempted to change the status of a resource from updated to latest when it is not the latest version of the logical resource.
| E_CACHE_EXCEPTION | Constant |
public static final E_CACHE_EXCEPTIONCache exception
| E_COULD_NOT_EXTRACT_METADATA | Constant |
public static final E_COULD_NOT_EXTRACT_METADATACould not extract metadata.
| E_COULD_NOT_INSTANTIATE_METADATA_EXTRACTOR | Constant |
public static final E_COULD_NOT_INSTANTIATE_METADATA_EXTRACTORCould not instantiate a metadata extractor for [mimeType].
| E_DSC_EXCEPTION | Constant |
public static final E_DSC_EXCEPTIONDSC exception.
| E_EXCEPTION | Constant |
public static final E_EXCEPTIONWraps a generic java.lang.Exception.
| E_EXCLUSIVE_LOCK_EXISTS | Constant |
public static final E_EXCLUSIVE_LOCK_EXISTSThe resource [resourceUri] is exclusive-locked by user [userId].
| E_FAILED_TO_DESRIALIZE_USER_CONTEXT | Constant |
public static final E_FAILED_TO_DESRIALIZE_USER_CONTEXTContext deserialization failed and returned a null user context.
| E_FILE_NOT_FOUND_OR_NO_ACCESS | Constant |
public static final E_FILE_NOT_FOUND_OR_NO_ACCESSResource [resourceUri] does not exist or you do not have sufficient rights to access it.
| E_IMMUTABLE_ATTRIBUTE | Constant |
public static final E_IMMUTABLE_ATTRIBUTEAttribute [attributeName] is immutable.
| E_IMMUTABLE_PROPERTY | Constant |
public static final E_IMMUTABLE_PROPERTYThe resource property [propertyName] in namespace [propertyNamespace] is immutable.
| E_INCORRECT_VERSION_FORMAT | Constant |
public static final E_INCORRECT_VERSION_FORMATThe format of the value of the URL parameter [rv|cv] is incorrect. The supplied value is [versionString]; "major.minor" was expected.
| E_INVALID_DEPTH | Constant |
public static final E_INVALID_DEPTHInvalid depth value [value]. The depth may only be Lock.DEPTH_ZERO, Lock.DEPTH_ONE, or Lock.DEPTH_INFINITE.
| E_INVALID_LOCK_DEPTH | Constant |
public static final E_INVALID_LOCK_DEPTHInvalid lock depth. Lock depth may only be Lock.DEPTH_ZERO, Lock.DEPTH_ONE, or Lock.DEPTH_INFINITE.
| E_INVALID_LOCK_SCOPE | Constant |
public static final E_INVALID_LOCK_SCOPEInvalid lock scope. Lock scope may only be Lock.SCOPE_EXCLUSIVE or Lock.SCOPE_SHARED.
| E_INVALID_VALUE | Constant |
public static final E_INVALID_VALUEValue [paramValue] is not valid for parameter [paramName].
| E_INVALID_XML_NCNAME | Constant |
public static final E_INVALID_XML_NCNAMEValue [paramValue] is not a valid XML NCName.
| E_IO_EXCEPTION | Constant |
public static final E_IO_EXCEPTIONI/O exception.
| E_LOCK_NOT_FOUND | Constant |
public static final E_LOCK_NOT_FOUNDA lock could not be found for resource [resourceUri]. You do not own the lock, do not have the proper lock token, or are not unlocking the top level resource for the lock.
| E_LOCKED_BY_OTHER | Constant |
public static final E_LOCKED_BY_OTHERResource [resourceUri] is locked by user [userName].
| E_MAJORVER_IN_USE | Constant |
public static final E_MAJORVER_IN_USEUnable to increment major version because version [[major].0] already exists.
| E_MINORVER_IN_USE | Constant |
public static final E_MINORVER_IN_USEUnable to increment minor version because version [[major].[minor]] already exists.
| E_MUST_BE_A_PATH | Constant |
public static final E_MUST_BE_A_PATHThe resource URI [resourceUri] must be a path.
| E_NO_ACCESS | Constant |
public static final E_NO_ACCESS
User access to the resource is not allowed for the permission request.
| E_NO_LOCK_TOKEN | Constant |
public static final E_NO_LOCK_TOKEN
No lock token submitted for locked resource [resourceUri].
| E_NO_METADATA_EXTRACTOR_REGISTERED | Constant |
public static final E_NO_METADATA_EXTRACTOR_REGISTEREDThere is no metadata extractor registered for [mimeType].
| E_NOT_A_PATH | Constant |
public static final E_NOT_A_PATHWhen writing a new com.adobe.repository.infomodel.bean.Relation, a path-based identifier must be specified to identify the parent com.adobe.repository.infomodel.bean.ResourceCollection. Since resource collections (libraries, applications) may have more than one path, path-based identifiers are required to select the correct path. (It would not be possible to determine which path to choose if there were two or more paths for a com.adobe.repository.infomodel.bean.ResourceCollection.)
| E_NOT_A_RESOURCE_COLLECTION | Constant |
public static final E_NOT_A_RESOURCE_COLLECTIONThe destination [resourceCollectionPath] is not a resource collection. Resources may only be moved or copied into resource collections.
| E_NOT_A_RESOURCE_OR_RESOURCE_COLLECTION | Constant |
public static final E_NOT_A_RESOURCE_OR_RESOURCE_COLLECTIONThe path [targetResourceCollectionPath] does not identify a resource or resource collection.
| E_NOT_A_VERION_OF_THIS_RESOURCE | Constant |
public static final E_NOT_A_VERION_OF_THIS_RESOURCEThe specified resource identifier ([resourceId]) is not a version of the resource you wish to update.
| E_NOT_AN_APPLICATION | Constant |
public static final E_NOT_AN_APPLICATIONResource [applicationUri] is not a LiveCycle application.
| E_NULL_ELEMENT | Constant |
public static final E_NULL_ELEMENTArray elements of parameter [paramName] cannot be null.
| E_NULL_PARAM | Constant |
public static final E_NULL_PARAMParameter [paramName] cannot be null.
| E_PERM_EXCEPTION | Constant |
public static final E_PERM_EXCEPTIONThe User Manager permissions were not loaded.
| E_POF_EXCEPTION | Constant |
public static final E_POF_EXCEPTIONWraps a POFException
| E_PROPERTY_NOT_NULLABLE | Constant |
public static final E_PROPERTY_NOT_NULLABLEThe resource property [propertyName] in namespace [propertyNamespace] cannot be assigned a null value or be removed.
| E_RELATION_NOT_FOUND | Constant |
public static final E_RELATION_NOT_FOUNDThe relation with the source URI [sourceUri], the target URI [targetUri], and type of [typeValue] does not exist or you do not have sufficient rights to access it.
| E_REMOTE_EXCEPTION | Constant |
public static final E_REMOTE_EXCEPTIONWraps a java.rmi.RemoteException.
| E_RESERVED_NAMESPACE | Constant |
public static final E_RESERVED_NAMESPACEProperty [name] cannot be added to reserved namespace [namespace].
| E_RESERVED_VALUE | Constant |
public static final E_RESERVED_VALUEValue [value] is reserved for future use for attribute [attributeName].
| E_RESERVED_VALUE_RANGE | Constant |
public static final E_RESERVED_VALUE_RANGEValues [startValue]-[endValue] (inclusive) are reserved for future use for attribute [attributeName].
| E_RESOURCE_EXISTS | Constant |
public static final E_RESOURCE_EXISTSA resource exists at URI [targetResourceUri].
| E_RESOURCE_IS_A_SYSTEM_PATH | Constant |
public static final E_RESOURCE_IS_A_SYSTEM_PATHThe specified source URI is a system resource collection, and cannot be moved or copied.
| E_RESOURCE_IS_A_VERSION | Constant |
public static final E_RESOURCE_IS_A_VERSIONTwo versions of the same resource cannot be made to relate in this manner.
| E_RESOURCE_MANAGER_EXCEPTION | Constant |
public static final E_RESOURCE_MANAGER_EXCEPTIONWraps a ResourceManagerException
| E_SHARED_LOCK_EXISTS | Constant |
public static final E_SHARED_LOCK_EXISTSThe resource [resourceUri] is share-locked by user [userId].
| E_SYSTEM_PATH_MAY_NOT_BE_DELETED | Constant |
public static final E_SYSTEM_PATH_MAY_NOT_BE_DELETED[path] is a system object and cannot be deleted.| E_SYSTEM_PATH_MAY_NOT_BE_UPDATED | Constant |
public static final E_SYSTEM_PATH_MAY_NOT_BE_UPDATED[resourceUri] is a system object and cannot be updated.| E_TYPE_MISMATCH | Constant |
public static final E_TYPE_MISMATCHType mismatch: A com.adobe.repository.infomodel.bean.Resource must be updated with a com.adobe.repository.infomodel.bean.Resource of the same type.
| E_UM_EXCEPTION | Constant |
public static final E_UM_EXCEPTIONWraps a com.adobe.idp.um.api.UMException.
| E_UNABLE_TO_PARSE_FILE | Constant |
public static final E_UNABLE_TO_PARSE_FILEUnable to parse the XMP metadata in the data stream.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/repository/RepositoryException.html