public class DfException extends java.lang.Exception implements IDfException
DFC_E_BAD_FULL_FORMAT, DM_DFC_E_BAD_CLASS, DM_DFC_E_BAD_INDEX, DM_DFC_E_BAD_VALUE, DM_DFC_E_CLASS_NOT_FOUND, DM_DFC_E_CONVERTED_EXCEPTION, DM_DFC_E_INIT_DMCL, DM_DFC_E_INIT_ERROR, DM_DFC_E_INVALID_OPER_ON_MANAGED_SESSION, DM_DFC_E_NOT_PROGRAMMATIC, DM_DFC_E_NOT_SUPPORTED, DM_DFC_E_NOT_SUPPORTED_BY_SERVER, DM_DFC_E_NOT_SUPPORTED_FOR_GETTING_SYSOBJECT_ATTRIBUTE, DM_DFC_E_NOT_SUPPORTED_FOR_MODIFYING_SYSOBJECT_ATTRS, DM_DFC_E_NOT_SUPPORTED_FOR_SETTING_SYSOBJECT_ATTRIBUTE, DM_DFC_E_OBJECT_DISCONNECTED, DM_DFC_E_OBJECT_NOT_INITIALIZED, DM_DFC_E_PATH_NOT_FOUND, DM_DFC_E_RD_NO_SAVED_CONTENT, DM_DFC_E_RD_STORE_NOT_RETENTION_ENABLED, DM_DFC_E_SERVER, DM_DFC_E_TYPE_MISMATCH, DM_DFC_E_TYPE_MISMATCH_ADD, DM_DFC_E_TYPE_MISMATCH_COMP, DM_DFC_E_TYPE_MISMATCH_GET, DM_DFC_E_TYPE_NOT_FOUND, DM_DFC_E_UNDEFINED, DM_DFC_E_UNKNOWN_OBJECT_TYPE, DM_DFC_EXCEPTION_CANNOT_CHANGE_ASSEMBLED_FROM_ID, DM_DFC_EXCEPTION_CANNOT_CHANGE_ATTRIBUTE, DM_DFC_EXCEPTION_CANNOT_CHANGE_CHRONICLE_ID, DM_DFC_EXCEPTION_CANNOT_CHANGE_CONTENT_SIZE, DM_DFC_EXCEPTION_CANNOT_CHANGE_FROZEN_ASSEMBLY_STATUS, DM_DFC_EXCEPTION_CANNOT_CHANGE_IMMUTABLE_ATTRIBUTE, DM_DFC_EXCEPTION_CANNOT_CHANGE_INTERNAL_ATTRIBUTE, DM_DFC_EXCEPTION_CANNOT_CHANGE_LINK_CNT, DM_DFC_EXCEPTION_CANNOT_CHANGE_LOCK_STATUS, DM_DFC_EXCEPTION_CANNOT_CHANGE_OBJECT_ID, DM_DFC_EXCEPTION_CANNOT_CHANGE_OBJECT_TYPE, DM_DFC_EXCEPTION_CANNOT_CHANGE_OWN_XPRIVILEGE, DM_DFC_EXCEPTION_CANNOT_CHANGE_REFERENCE_STATUS, DM_DFC_EXCEPTION_CANNOT_CHANGE_REPLICA_STATUS, DM_DFC_EXCEPTION_CANNOT_CHANGE_VERSION_LABELS, DM_DFC_EXCEPTION_CANNOT_CHANGE_VIRTUAL_DOC_STATUS, DM_DFC_EXCEPTION_ILLEGAL_ARGUMENT_BOOLEAN_EXPECTED, DM_DFC_EXCEPTION_ILLEGAL_ARGUMENT_IDFID_EXPECTED, DM_DFC_EXCEPTION_ILLEGAL_ARGUMENT_IDFLIST_EXPECTED, DM_DFC_EXCEPTION_ILLEGAL_ARGUMENT_INTEGER_EXPECTED, DM_DFC_EXCEPTION_ILLEGAL_ARGUMENT_STRING_EXPECTED, DM_DFC_EXCEPTION_MANDATORY_ATTRIBUTES_MISSING, DM_DFC_EXCEPTION_OBJECT_ID_MISMATCH, DM_DFC_EXCEPTION_OBJECT_TYPE_MISMATCH, DM_DFC_EXCEPTION_REPEATING_ATTRIBUTE_NOT_SET, DM_DFC_EXCEPTION_SYS_OBJECT_ALREADY_EXISTS, DM_DFCBP_E_ALIAS_ALREADY_EXISTS, DM_DFCBP_E_ALIAS_NOT_EXIST, DM_DFCCOLL_E_BAD_QUERY_TYPE, DM_DFCCOLL_E_BAD_STATE, DM_DFCCTXTMGR_E_GETCONTEXT, DM_DFCQB_BAD_TIME_PATTERN, DM_DFCQB_FILE_ERROR, DM_DFCQB_INTERNAL_ERROR, DM_DFCQB_NO_PATH_SPECIFIED, DM_DFCRM_E_OBJCARR_ERROR, DM_DFCSESS_E_BAD_ADOPT_SESSID, DM_DFCSESS_E_DISCONNECTED, DM_DFCSESS_E_FAILED, DM_DFCSESS_E_FAILED_EX, DM_DFCSESS_E_ILLEGAL_OP, DM_DFCSP_INVALID_CUSTOM_RULE, DM_DFCSP_NO_RULES, DM_DFCSP_NOT_SUBTYPE_OF_SYSOBJECT_ERROR, DM_DFCSP_RELATION_EXISTS_ERROR, DM_DFCSP_RF_NO_ATTRIBUTE, DM_DFCSP_RF_NO_DATA_TYPE, DM_DFCSP_RF_NO_RELATION_OP, DM_DFCSP_RF_NO_VALUE, DM_DFCSP_RF_TYPE_OP_MISMATCH, DM_DFCSP_RL_FACTORS_OPS_MISMATCH, DM_DFCSP_RL_NO_FACTORS, DM_DFCSP_RL_NO_LOGIC_OP, DM_DFCSP_RL_NO_STORAGE, DM_DFCSP_RULE_VALIDATION_ERROR, DM_DFCSP_RULES_NOT_RENDERED_ERROR, DM_DFCSP_STORAGE_POLICY_ERROR, DM_DFCSP_STORAGE_POLICY_NOT_SAVED_ERROR, DM_DFCWF_E_APPEND_NOTE, DM_DFCWF_E_BAD_OBJECT, DM_DFCWF_E_BAD_TEMPLATE, DM_DFCWF_E_INVALID_GROUP, DM_DFCWF_E_MISSING_TEMPLATE, DM_DFCWF_E_NO_OBJECT, DM_DFCWF_E_NO_USER, DM_DFCWF_E_START_FAILED, DM_DFCWF_E_USER_LIMIT, DM_EXPR_E_EVALUATE, DM_EXPR_E_EVALUATOR_LOAD_FAIL, DM_EXPR_E_PARSE, DM_EXPR_E_PARSE_LOAD_FAIL, DM_NOTDFC_E_EXTERNAL, DM_NOTDFC_E_JAVA, DM_TEMPVDM_E_ERROR, DM_VALIDATION_E_ATTR_RULES, DM_VALIDATION_E_ATTR_RULES_NO_VAL, DM_VALIDATION_E_DATATYPE, DM_VALIDATION_E_ERROR, DM_VALIDATION_E_EXCESS_LEN, DM_VALIDATION_E_EXPR, DM_VALIDATION_E_FORMAT, DM_VALIDATION_E_OBJ_EXPR, DM_VALIDATION_E_OBJ_NULL_DATA, DM_VALIDATION_E_OBJ_RULES, DM_VALIDATION_E_USE_VALUE_ASST, errorCorruptedFile, errorDirectoryDoesNotExist, errorDirectoryIsActuallyAFile, errorFileDoesNotExist, errorFileIsActuallyADirectory, errorNoPermissionToCreateDirectory, errorNoPermissionToCreateFile, errorNoPermissionToDetectExistanceOfDirectory, errorNoPermissionToDetectExistanceOfFile, errorNoPermissionToOpenExistingFileWithWriteAccess, errorNoPermissionToOpenFileWithReadAccess, errorReadingFile, errorWritingToExistingFile, errorWritingToNewFile
Constructor and Description |
---|
DfException() |
DfException(int errorCode)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
DfException(int errorCode,
java.lang.String message)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
DfException(int errorCode,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
DfException(com.documentum.fc.common.impl.MessageHelper messageHelper) |
DfException(com.documentum.fc.common.impl.MessageHelper messageHelper,
java.lang.Throwable cause) |
DfException(java.util.ResourceBundle bundle,
int errorCode)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
DfException(java.util.ResourceBundle bundle,
int errorCode,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
DfException(java.lang.String message) |
DfException(java.lang.String message,
java.lang.Object[] arguments) |
DfException(java.lang.String message,
java.lang.Object[] arguments,
java.lang.Throwable cause) |
DfException(java.lang.String message,
java.lang.Throwable cause) |
DfException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static DfException |
appendException(DfException exptHead,
DfException e,
int stopAfterNumOfErrors)
Appends a DfException to the end of an exception chain.
|
static DfException |
convert(java.lang.Exception e) |
java.lang.Object[] |
getArguments()
Returns the arguments for this Exception.
|
int |
getCount()
Returns the number of exceptions chained to this exception (including this exception itself).
|
int |
getErrorCode()
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
java.lang.String |
getMessage()
Returns the error message associated with this exception.
|
java.lang.String |
getMessageId()
Returns the alphanumeric message identifier.
|
IDfException |
getNextException()
Returns the next exception in the chain, that is, the exception which triggered this one.
|
IDfProperties |
getProperties()
Returns the the IDfProperties interface to the object.
|
java.lang.String |
getStackTraceAsString()
Returns the Java stack trace as a String.
|
IDfException |
getTailException()
Returns the last exception in the chain of exceptions.
|
java.lang.String |
getThreadInfo()
Returns the name of the Java thread on which this exception was thrown.
|
static DfException |
materializedLightObjectException(IDfId id) |
static DfException |
newAlreadyMaterializedException(IDfId objectId) |
static DfException |
newApiBadType(IDfId componentId,
java.lang.String typeName) |
static DfException |
newAspectMissingPropertyBag(java.lang.String aspectName,
IDfId objId,
java.lang.String typeName) |
static DfException |
newAuditTrailOutOfRangeException(int valueIndex,
java.lang.String attributeName,
int count) |
static DfException |
newBadCacheTypeNameException(java.lang.String cacheTypeName) |
static DfException |
newBadClassException(java.lang.String className,
java.lang.String baseClassName,
java.lang.Throwable cause) |
static DfException |
newBadDataTypeException(int dataType) |
static DfException |
newBadDateException(java.lang.String value,
java.lang.String pattern) |
static DfException |
newBadDocbaseScopeIdException(long docbaseId) |
static DfException |
newBadFlushArgException(java.lang.String flushType) |
static DfException |
newBadIdException(IDfId id) |
static DfException |
newBadTypeException(java.lang.String typeName) |
static DfException |
newCannotChangeSharedParentException() |
static DfException |
newCannotDestroyAspect(java.lang.String aspectName) |
static DfException |
newCantApplyException(java.lang.String methodName) |
static DfException |
newCantExportDirtyObjectException(IDfId id) |
static DfException |
newCantFetchInvalidId(java.lang.String objectId) |
static DfException |
newCantWithOpenTranException(java.lang.String operationName) |
static DfException |
newClassNotFoundException(java.lang.String className,
java.lang.Throwable cause) |
static DfException |
newDecodingFailedException(java.lang.String tokenName,
java.lang.String tokenValue,
java.lang.Throwable cause) |
static DfException |
newDeserializeFailedException(java.lang.String serializedValue,
java.lang.Throwable cause) |
static DfException |
newDynamicGroupUpdateException() |
static DfException |
newFailedPolicyUpdateException(java.lang.Throwable cause) |
static DfException |
newFlushDDCacheBadKeyException(java.lang.String cacheKey) |
static DfException |
newFlushDDCacheNoKeyException() |
static DfException |
newFlushRegistryCacheNoKeyException() |
static DfException |
newIllegalDateFormatException(java.lang.String value) |
static DfException |
newIllegalSBOAccessException(java.lang.String sboName) |
static DfException |
newInvalidAspectName(java.lang.String aspectName) |
static DfException |
newInvalidDefaultValue(java.lang.String typeName,
java.lang.String attrName,
java.lang.String defaultValue) |
static DfException |
newInvalidNewObjectException(java.lang.String typeName) |
static DfException |
newInvalidTypeException(java.lang.String typeName,
IDfId objectId,
java.lang.String requiredTypeName) |
static DfException |
newMaterializationOptionMismatchException(IDfId objectId) |
static DfException |
newMultipleObjectsQualify(java.lang.String predicate,
java.lang.String docbaseName) |
static DfException |
newNoCacheKeyException() |
static DfException |
newNoCacheNameException() |
static DfException |
newNoCacheTypeNameException() |
static DfException |
newNoEventNameException(java.lang.String commandName) |
static DfException |
newNoIdException(java.lang.String api) |
static DfException |
newProxyInstantiateFailedException(java.lang.String className,
java.lang.Throwable cause) |
static DfException |
newQueryFailException(java.lang.String dql,
java.lang.Throwable cause) |
static DfException |
newQuerySessionClosedException() |
static DfException |
newReplicaAspectGenerationFailed(java.lang.String className,
java.lang.Throwable cause) |
static DfException |
newRetentionOnParkedContentDisabled() |
static DfException |
newSerializeFailedException(java.lang.Object object,
java.lang.Throwable cause) |
static DfException |
newShareableTypeMismatchException(java.lang.String shareableTypeName) |
static DfException |
newTransactionActiveException() |
static DfException |
newTransactionLostException() |
static DfException |
newUnsupportedLoginTicketObjectVersionException(int version) |
static DfException |
newUpdateBadAttrException(java.lang.String attributeName) |
static DfException |
newWrongCacheNameException(java.lang.String cacheName) |
static DfException |
noLightweightParentTypeException(java.lang.String lwTypeName) |
static DfException |
notShareableParentTypeException(java.lang.String lwTypeName) |
static IDfException |
parseException(java.lang.String exceptionString)
Turns a string returned by toStringForCOM into a DfException object.
|
void |
printStackTrace(java.io.PrintStream s) |
void |
printStackTrace(java.io.PrintWriter s) |
static void |
registerResourceBundle(java.util.ResourceBundle bundle)
Registers a resource bundle containing messages used in exceptions.
|
void |
setErrorCode(int errorCode)
Deprecated.
Alphanumeric identifiers are now used instead of numeric error codes
|
static void |
setIncludeStackTraceInMsg(boolean value)
Deprecated.
Use DfPreferences instead.
|
void |
setMessage(java.lang.String message)
Sets the error message for this exception.
|
void |
setNextException(DfException nextException) |
java.lang.String |
toString() |
java.lang.String |
toStringForCOM()
Returns a string encoding of the exception that can be used to transfer the exception across COM.
|
public DfException()
public DfException(java.lang.Throwable cause)
public DfException(java.lang.String message)
public DfException(java.lang.String message, java.lang.Throwable cause)
public DfException(java.lang.String message, java.lang.Object[] arguments)
public DfException(java.lang.String message, java.lang.Object[] arguments, java.lang.Throwable cause)
public DfException(com.documentum.fc.common.impl.MessageHelper messageHelper)
public DfException(com.documentum.fc.common.impl.MessageHelper messageHelper, java.lang.Throwable cause)
public DfException(int errorCode)
public DfException(int errorCode, java.lang.String message)
public DfException(int errorCode, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
public DfException(java.util.ResourceBundle bundle, int errorCode)
errorCode
- the error code associated with this exceptionDfException(String)
,
DfException(String, Throwable)
public DfException(java.util.ResourceBundle bundle, int errorCode, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
public static DfException newNoIdException(java.lang.String api)
public static DfException newBadIdException(IDfId id)
public static DfException newBadDateException(java.lang.String value, java.lang.String pattern)
public static DfException newBadDocbaseScopeIdException(long docbaseId)
public static DfException newBadTypeException(java.lang.String typeName)
public static DfException newBadDataTypeException(int dataType)
public static DfException newApiBadType(IDfId componentId, java.lang.String typeName)
public static DfException newBadClassException(java.lang.String className, java.lang.String baseClassName, java.lang.Throwable cause)
public static DfException newClassNotFoundException(java.lang.String className, java.lang.Throwable cause)
public static DfException newProxyInstantiateFailedException(java.lang.String className, java.lang.Throwable cause)
public static DfException newReplicaAspectGenerationFailed(java.lang.String className, java.lang.Throwable cause)
public static DfException newIllegalSBOAccessException(java.lang.String sboName)
public static DfException newCantApplyException(java.lang.String methodName)
public static DfException newCantFetchInvalidId(java.lang.String objectId)
public static DfException newSerializeFailedException(java.lang.Object object, java.lang.Throwable cause)
public static DfException newDeserializeFailedException(java.lang.String serializedValue, java.lang.Throwable cause)
public static DfException newMultipleObjectsQualify(java.lang.String predicate, java.lang.String docbaseName)
public static DfException newIllegalDateFormatException(java.lang.String value)
public static DfException newMaterializationOptionMismatchException(IDfId objectId)
public static DfException newShareableTypeMismatchException(java.lang.String shareableTypeName)
public static DfException newTransactionActiveException()
public static DfException newTransactionLostException()
public static DfException newDynamicGroupUpdateException()
public static DfException newCantWithOpenTranException(java.lang.String operationName)
public static DfException newBadFlushArgException(java.lang.String flushType)
public static DfException newFlushDDCacheNoKeyException()
public static DfException newFlushDDCacheBadKeyException(java.lang.String cacheKey)
public static DfException newFlushRegistryCacheNoKeyException()
public static DfException newInvalidTypeException(java.lang.String typeName, IDfId objectId, java.lang.String requiredTypeName)
public static DfException newInvalidNewObjectException(java.lang.String typeName)
public static DfException newInvalidAspectName(java.lang.String aspectName)
public static DfException newCannotDestroyAspect(java.lang.String aspectName)
public static DfException newAlreadyMaterializedException(IDfId objectId)
public static DfException newQueryFailException(java.lang.String dql, java.lang.Throwable cause)
public static DfException newQuerySessionClosedException()
public static DfException newAspectMissingPropertyBag(java.lang.String aspectName, IDfId objId, java.lang.String typeName)
public static DfException newInvalidDefaultValue(java.lang.String typeName, java.lang.String attrName, java.lang.String defaultValue)
public static DfException newRetentionOnParkedContentDisabled()
public static DfException newAuditTrailOutOfRangeException(int valueIndex, java.lang.String attributeName, int count)
public static DfException newNoEventNameException(java.lang.String commandName)
public static DfException newDecodingFailedException(java.lang.String tokenName, java.lang.String tokenValue, java.lang.Throwable cause)
public static DfException newUnsupportedLoginTicketObjectVersionException(int version)
public static DfException newNoCacheNameException()
public static DfException newWrongCacheNameException(java.lang.String cacheName)
public static DfException newUpdateBadAttrException(java.lang.String attributeName)
public static DfException newFailedPolicyUpdateException(java.lang.Throwable cause)
public static DfException newCantExportDirtyObjectException(IDfId id)
public static DfException newNoCacheTypeNameException()
public static DfException newBadCacheTypeNameException(java.lang.String cacheTypeName)
public static DfException newNoCacheKeyException()
public static DfException newCannotChangeSharedParentException()
public static DfException noLightweightParentTypeException(java.lang.String lwTypeName)
public static DfException notShareableParentTypeException(java.lang.String lwTypeName)
public static DfException materializedLightObjectException(IDfId id)
public java.lang.String getMessage()
IDfException
getMessage
in interface IDfException
getMessage
in class java.lang.Throwable
public java.lang.String getMessageId()
IDfException
getMessageId
in interface IDfException
public java.lang.Object[] getArguments()
IDfException
getArguments
in interface IDfException
public final void setMessage(java.lang.String message)
IDfException
setMessage
in interface IDfException
message
- the localized error message.public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
public final int getErrorCode()
IDfException
getErrorCode
in interface IDfException
public final void setErrorCode(int errorCode)
IDfException
setErrorCode
in interface IDfException
errorCode
- an application-defined error code.public final java.lang.String getThreadInfo()
IDfException
getThreadInfo
in interface IDfException
public final int getCount()
IDfException
getCount
in interface IDfException
public final IDfException getNextException()
IDfException
getNextException
in interface IDfException
public final void setNextException(DfException nextException)
public final IDfException getTailException()
IDfException
null
.getTailException
in interface IDfException
public IDfProperties getProperties()
IDfException
getProperties
in interface IDfException
public java.lang.String getStackTraceAsString()
IDfException
getStackTraceAsString
in interface IDfException
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String toStringForCOM()
public static void registerResourceBundle(java.util.ResourceBundle bundle)
DfLogger
.public static DfException appendException(DfException exptHead, DfException e, int stopAfterNumOfErrors) throws DfException
DfException
public static IDfException parseException(java.lang.String exceptionString)
public static void setIncludeStackTraceInMsg(boolean value)
public static DfException convert(java.lang.Exception e)
Copyright 1994-2023 OpenText Corporation. All rights reserved.