|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.candle.roma.kxm.KxmException
This class is thrown on errors by the API and encapsulates the error information.
Field Summary | |
static int |
ET_API
Type of Error |
static int |
ET_CRITICAL
Type of Error |
static int |
ET_ERROR
Type of Error |
static int |
ET_TRANSIENT
Type of Error |
static int |
KRROP_DOM
DOM layer error |
static int |
KRROP_REPOSITORY
Repository layer error |
static int |
KRROP_STL
STL layer error |
static int |
KRRRC_API_ERROR
API call input parameters invariant violation |
static int |
KRRRC_BAD_CAST
Is thrown in the bad cast condition |
static int |
KRRRC_BAD_PARAM
Invalid function parameter(s) |
static int |
KRRRC_DETACHED_OBJECT
It's raised when KrrObject::repImpl() is requested from object which was not loaed from repository (e.g. |
static int |
KRRRC_DIRECTORY_UNAVAILABLE
It's raised when some failure occurs for open LDAP connection. |
static int |
KRRRC_DOM_API_ERROR
DOM exception has been thrown |
static int |
KRRRC_DOM_INVALID_XML_DOCUMENT
The error was detected when parsing the XML document |
static int |
KRRRC_DOM_NOT_ASCII_SYMBOL
Is thrown when the attempt to write not Ascii symbol is detected |
static int |
KRRRC_DOM_ROOT_ELEMENT_NOT_EXISTS
Is thrown when DOM root element is expected, but not found |
static int |
KRRRC_DOM_WRONG_CPID
Wrong codepage id |
static int |
KRRRC_DOM_WRONG_CPID_POSITION
Codepage id should be specified in the first column |
static int |
KRRRC_ENV_INVALID
Invalid environment variable |
static int |
KRRRC_ENV_MISSING
Missing environment variable |
static int |
KRRRC_GROUPITEM_DUPLICATED
It's raised on attemp to add duplicated item in a group. |
static int |
KRRRC_GROUPITEM_INVINDEX
It's raised on attemp to access method from object definition where no method with such name exists. |
static int |
KRRRC_GROUPITEM_UNKNOWN
It's raised on attemp to access item from a group where no item with such name exists. |
static int |
KRRRC_INTERNAL_ERROR
Internal error condition. |
static int |
KRRRC_INVALID_CFG
Invalid configuration |
static int |
KRRRC_INVALID_IDSTR
Invalid identifier string condition. |
static int |
KRRRC_INVALID_MBCHAR
Invalid muliti-byte character error |
static int |
KRRRC_INVALID_OBJECT
It's raised when object is accessed from LDAP and it's failed due to the following reasons include: 1. |
static int |
KRRRC_INVALID_WCHAR
Invalid wide character character error |
static int |
KRRRC_MISSING_ROMA_HOME
CANDLE_COMMON_HOME is not defined |
static int |
KRRRC_NLS_ERROR
LDAP/LDIF does not support extended ASCII characters |
static int |
KRRRC_NOT_ACCESSIBLE
LDAP directory is not accessible. |
static int |
KRRRC_NOT_CONFIGURED
Is thrown when the LDAP is not populated |
static int |
KRRRC_NOT_IMPLEMENTED
Not implemented functionality |
static int |
KRRRC_OBJECT_ALREADY_EXISTS
It's raised when object is added to LDAP but another object with the same name already exists. |
static int |
KRRRC_OBJMETHOD_DUPLICATED
It's raised on attempt to add duplicated method in the object definition |
static int |
KRRRC_OBJMETHOD_INVINDEX
It's raised on attemp to access method from object definition where no method with such index exists. |
static int |
KRRRC_OBJMETHOD_UNKNOWN
It's raised on attemp to access method from object definition where no method with such name exists. |
static int |
KRRRC_OUT_OF_MEMORY
Out of memory error |
static int |
KRRRC_RDFLOADER_ERROR
RDF interpreter error: RDF semantics are not valid. |
static int |
KRRRC_RDFPARSER_ERROR
RDF parser error: RDF syntax is not valid. |
static int |
KRRRC_SHLIB_ERROR
Shared library error code |
static int |
KRRRC_STANZA_ALREADY_EXISTS
Is thrown when the entry already exists in LDAP |
static int |
KRRRC_STANZA_BASE_DN_NOT_FOUND
Is thrown when stanza's base dn was not found |
static int |
KRRRC_STANZA_GENERAL_ERROR
Stanza general exception error |
static int |
KRRRC_STANZA_INVALID_LDAP
Invalid LDAP url was specified |
static int |
KRRRC_STANZA_INVALID_LDIF
Invalid (not-existing) LDIF file specified |
static int |
KRRRC_STANZA_INVALID_PORT
Invalid port was specified |
static int |
KRRRC_STANZA_INVCONTEXT
Invalid context record specified |
static int |
KRRRC_STANZA_NOT_SUPPORTED
The specified feature is not supported in current version |
static int |
KRRRC_STL_ASSERT
|
static int |
KRRRC_STL_ERROR
|
static int |
KRRRC_UNBOUND_REF
Attempt to get unbound reference |
static int |
KRRRC_UNKNOWN_OBJECT
Object is not found in the LDAP. |
static int |
KXMOP_CONVERSION
|
static int |
KXMOP_CORE
|
static int |
KXMOP_HFAPI
|
static int |
KXMOP_JHFAPI
|
static int |
KXMRC_API_MISUSE
|
static int |
KXMRC_ARRAY_TOO_SMALL
Array is smaller than required to store the value and auto-expand is disabled. |
static int |
KXMRC_BUFFER_TOO_SMALL
Supplied buffer is too small to store data in and auto-allocation is disabled. |
static int |
KXMRC_CANNOT_LOAD_ILS
ILS error |
static int |
KXMRC_CANT_SET_FIELD
|
static int |
KXMRC_CONV_NOT_INSTALLED
Conversion engine not installed Java Message Handling error |
static int |
KXMRC_CONVERSION_FAILED
Value cannot be converted for the set or get function. |
static int |
KXMRC_CONVERSION_IMPOSSIBLE
Mismatch between type of a value and type of the set or get function called. |
static int |
KXMRC_CORRUPTED_DATA
|
static int |
KXMRC_COUNT_TOO_BIG
Array does not contain specified number of elements. |
static int |
KXMRC_DEFAULT_VALUE
C++ Helper Functions error codes |
static int |
KXMRC_DOC_TYPE_MISMATCH
Name of the XML document does not match the name specified in the repository. |
static int |
KXMRC_EMPTY_FIELD
Field is empty. |
static int |
KXMRC_EVAL_ERROR
Expression evaluation error. |
static int |
KXMRC_EXPR_DEF_MISMATCH
|
static int |
KXMRC_EXPR_NOT_BOOLEAN
Expression passed to the KxmBoolExpr class is not boolean. |
static int |
KXMRC_EXPR_NOT_COMPARABLE
|
static int |
KXMRC_FIELD_NOT_UNIQUE
Message (group) does not contain specified field. |
static int |
KXMRC_FORMAT_ERROR
Error in formatting message. |
static int |
KXMRC_FORMAT_MISMATCH
|
static int |
KXMRC_FUNCLIB_ERROR
|
static int |
KXMRC_INTERNAL_ERROR
Internal logic error. |
static int |
KXMRC_INVALID_ARRAY_VALUE
C Helper Functions error codes |
static int |
KXMRC_INVALID_ARRAYVAL
C Helper Functions error codes |
static int |
KXMRC_INVALID_BUFFER
Buffer structure is invalid. |
static int |
KXMRC_INVALID_COUNT
C Helper Functions error codes |
static int |
KXMRC_INVALID_DATALEN
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_DATETIME
Message (group) does not contain specified field. |
static int |
KXMRC_INVALID_DURATION
The value is not a properly structured duration value. |
static int |
KXMRC_INVALID_EXPR
Expression is invalid. |
static int |
KXMRC_INVALID_FIELD
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_FIELD_INFO
C Helper Functions error codes |
static int |
KXMRC_INVALID_FIELD_NAME
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_FORMAT_NAME
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_HANDLE
Message or field handle is invalid. |
static int |
KXMRC_INVALID_INDEX
Index is out of range. |
static int |
KXMRC_INVALID_MAP
Map definition or one of the definitions it refers to is invalid. |
static int |
KXMRC_INVALID_MESSAGE
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_MESSAGE_INFO
C Helper Functions error codes |
static int |
KXMRC_INVALID_OPTIONS
Options structure is invalid. |
static int |
KXMRC_INVALID_PARAM
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_POINTER
Pointer is NULL or does not point to valid address. |
static int |
KXMRC_INVALID_QNAME
The value is not a properly structured qname value. |
static int |
KXMRC_INVALID_REPOSITORY
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_STRING
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_TIMEZONE
The value is not a properly structured time zone value. |
static int |
KXMRC_INVALID_TRANHEAD
Invalid value in the KXMTRANHEAD structure |
static int |
KXMRC_INVALID_TYPE
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_TYPEID
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_XML_FILTER
C++ Helper Functions error codes |
static int |
KXMRC_INVALID_XMLCHAR
C++ Helper Functions error codes |
static int |
KXMRC_KXC_ERROR
Message (group) does not contain specified field. |
static int |
KXMRC_LDAP_WRONG_CONFIG
LDAP access error |
static int |
KXMRC_LIB_ALREADY_INITIALIZED
Library already initialized |
static int |
KXMRC_LIB_NOT_INITIALIZED
Library is not initialized. |
static int |
KXMRC_MAP_ERROR
Map failed to convert data. |
static int |
KXMRC_MAP_NOT_FOUND
C++ Helper Functions error codes |
static int |
KXMRC_MDR_NOT_AVAILABLE
|
static int |
KXMRC_MULTIPLE_MAPS
Multiple conversion maps exist to do conversion between formats. |
static int |
KXMRC_NO_DEFAULT
Message (group) does not contain specified field. |
static int |
KXMRC_NO_MATCHED_FIELDS
|
static int |
KXMRC_NO_WRITE
|
static int |
KXMRC_NOT_APPLICABLE
C++ Helper Functions error codes |
static int |
KXMRC_NOT_ARRAY
Message (group) does not contain specified field. |
static int |
KXMRC_NOT_GROUP
Message (group) does not contain specified field. |
static int |
KXMRC_NOT_PRIMITIVE
Message (group) does not contain specified field. |
static int |
KXMRC_NOT_SUPPORTED
C++ Helper Functions error codes |
static int |
KXMRC_NOT_XML_ELEMENT
Message (group) does not contain specified field. |
static int |
KXMRC_NOT_XML_FIELD
The value is not an XML field (element, attribute, etc.) |
static int |
KXMRC_NOTHING_VALUE
Expression evaluated to NOTHING |
static int |
KXMRC_OK
|
static int |
KXMRC_OS_ERROR
|
static int |
KXMRC_OUT_OF_MEMORY
Out of memory error |
static int |
KXMRC_PARENT_IS_ABSENT
C Helper Functions error codes |
static int |
KXMRC_PARSE_ERROR
Error in parsing message. |
static int |
KXMRC_READ_ONLY
C++ Helper Functions error codes |
static int |
KXMRC_RESTRICTION_FAILED
Field value does not meet the restriction specified in the repository. |
static int |
KXMRC_SET_ILLEGAL_CLASS
Try to pass ILLEGAL Class Object to KxmField.set(object) Java Message Handling error |
static int |
KXMRC_UNEXPECTED_CHANGES
LDAP access error |
static int |
KXMRC_UNKNOWN_FIELD
Message (group) does not contain specified field. |
static int |
KXMRC_UNKNOWN_XMLSCHEMA_TYPE
|
static int |
KXMRC_UNSUPPORTED_TYPE
|
static int |
KXMRC_XMLNS_DISABLED
XML namespaces handling is disabled |
Method Summary | |
java.lang.String |
getErrorMessage()
Returns the message describing the error. |
int |
getErrorType()
Returns the error type. |
int |
getFailedLayer()
Returns the identifier of the code layer that returned the error. |
java.lang.String |
getLocation()
Returns the location of the error in the source code. |
java.lang.String |
getMessage()
Return error message, including secondary error message |
int |
getPosition()
Returns the position. |
int |
getReason()
Returns the error reason that was returned by the failed layer. |
int |
getReturnCode()
Returns the return code, which identifies the error. |
KxmException |
getSecondary()
Returns the sub-error information. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ET_API
public static final int ET_TRANSIENT
public static final int ET_ERROR
public static final int ET_CRITICAL
public static final int KRROP_REPOSITORY
public static final int KRROP_DOM
public static final int KRROP_STL
public static final int KRRRC_NOT_ACCESSIBLE
public static final int KRRRC_INVALID_OBJECT
public static final int KRRRC_UNKNOWN_OBJECT
public static final int KRRRC_OBJECT_ALREADY_EXISTS
public static final int KRRRC_DIRECTORY_UNAVAILABLE
public static final int KRRRC_GROUPITEM_DUPLICATED
public static final int KRRRC_GROUPITEM_UNKNOWN
public static final int KRRRC_ENV_MISSING
public static final int KRRRC_ENV_INVALID
public static final int KRRRC_OUT_OF_MEMORY
public static final int KRRRC_INVALID_WCHAR
public static final int KRRRC_INVALID_MBCHAR
public static final int KRRRC_INVALID_IDSTR
public static final int KRRRC_DETACHED_OBJECT
public static final int KRRRC_INTERNAL_ERROR
public static final int KRRRC_API_ERROR
public static final int KRRRC_NOT_IMPLEMENTED
public static final int KRRRC_RDFPARSER_ERROR
public static final int KRRRC_RDFLOADER_ERROR
public static final int KRRRC_UNBOUND_REF
public static final int KRRRC_GROUPITEM_INVINDEX
public static final int KRRRC_BAD_CAST
public static final int KRRRC_MISSING_ROMA_HOME
public static final int KRRRC_NLS_ERROR
public static final int KRRRC_SHLIB_ERROR
public static final int KRRRC_INVALID_CFG
public static final int KRRRC_BAD_PARAM
public static final int KRRRC_OBJMETHOD_DUPLICATED
public static final int KRRRC_OBJMETHOD_UNKNOWN
public static final int KRRRC_OBJMETHOD_INVINDEX
public static final int KRRRC_STL_ERROR
public static final int KRRRC_STL_ASSERT
public static final int KRRRC_STANZA_NOT_SUPPORTED
public static final int KRRRC_STANZA_INVALID_LDAP
public static final int KRRRC_STANZA_INVALID_PORT
public static final int KRRRC_STANZA_ALREADY_EXISTS
public static final int KRRRC_STANZA_BASE_DN_NOT_FOUND
public static final int KRRRC_NOT_CONFIGURED
public static final int KRRRC_STANZA_GENERAL_ERROR
public static final int KRRRC_STANZA_INVCONTEXT
public static final int KRRRC_STANZA_INVALID_LDIF
public static final int KRRRC_DOM_API_ERROR
public static final int KRRRC_DOM_ROOT_ELEMENT_NOT_EXISTS
public static final int KRRRC_DOM_NOT_ASCII_SYMBOL
public static final int KRRRC_DOM_INVALID_XML_DOCUMENT
public static final int KRRRC_DOM_WRONG_CPID_POSITION
public static final int KRRRC_DOM_WRONG_CPID
public static final int KXMOP_CONVERSION
public static final int KXMOP_HFAPI
public static final int KXMOP_CORE
public static final int KXMOP_JHFAPI
public static final int KXMRC_OK
public static final int KXMRC_OUT_OF_MEMORY
public static final int KXMRC_INTERNAL_ERROR
public static final int KXMRC_BUFFER_TOO_SMALL
public static final int KXMRC_INVALID_MAP
public static final int KXMRC_MAP_ERROR
public static final int KXMRC_DOC_TYPE_MISMATCH
public static final int KXMRC_RESTRICTION_FAILED
public static final int KXMRC_PARSE_ERROR
public static final int KXMRC_FORMAT_ERROR
public static final int KXMRC_MULTIPLE_MAPS
public static final int KXMRC_EXPR_NOT_BOOLEAN
public static final int KXMRC_INVALID_EXPR
public static final int KXMRC_NOTHING_VALUE
public static final int KXMRC_EVAL_ERROR
public static final int KXMRC_EXPR_NOT_COMPARABLE
public static final int KXMRC_EXPR_DEF_MISMATCH
public static final int KXMRC_CORRUPTED_DATA
public static final int KXMRC_FORMAT_MISMATCH
public static final int KXMRC_INVALID_TRANHEAD
public static final int KXMRC_FUNCLIB_ERROR
public static final int KXMRC_NO_MATCHED_FIELDS
public static final int KXMRC_UNSUPPORTED_TYPE
public static final int KXMRC_MDR_NOT_AVAILABLE
public static final int KXMRC_CANT_SET_FIELD
public static final int KXMRC_OS_ERROR
public static final int KXMRC_UNKNOWN_XMLSCHEMA_TYPE
public static final int KXMRC_ARRAY_TOO_SMALL
public static final int KXMRC_CONVERSION_IMPOSSIBLE
public static final int KXMRC_CONVERSION_FAILED
public static final int KXMRC_INVALID_INDEX
public static final int KXMRC_EMPTY_FIELD
public static final int KXMRC_UNKNOWN_FIELD
public static final int KXMRC_NOT_ARRAY
public static final int KXMRC_NOT_GROUP
public static final int KXMRC_NOT_XML_ELEMENT
public static final int KXMRC_FIELD_NOT_UNIQUE
public static final int KXMRC_INVALID_DATETIME
public static final int KXMRC_NO_DEFAULT
public static final int KXMRC_NOT_PRIMITIVE
public static final int KXMRC_KXC_ERROR
public static final int KXMRC_NOT_XML_FIELD
public static final int KXMRC_XMLNS_DISABLED
public static final int KXMRC_INVALID_TIMEZONE
public static final int KXMRC_INVALID_DURATION
public static final int KXMRC_INVALID_QNAME
public static final int KXMRC_INVALID_FIELD
public static final int KXMRC_INVALID_MESSAGE
public static final int KXMRC_INVALID_REPOSITORY
public static final int KXMRC_INVALID_FIELD_NAME
public static final int KXMRC_INVALID_XML_FILTER
public static final int KXMRC_READ_ONLY
public static final int KXMRC_DEFAULT_VALUE
public static final int KXMRC_INVALID_FORMAT_NAME
public static final int KXMRC_INVALID_STRING
public static final int KXMRC_INVALID_TYPE
public static final int KXMRC_INVALID_DATALEN
public static final int KXMRC_INVALID_TYPEID
public static final int KXMRC_INVALID_XMLCHAR
public static final int KXMRC_INVALID_PARAM
public static final int KXMRC_MAP_NOT_FOUND
public static final int KXMRC_NOT_APPLICABLE
public static final int KXMRC_NOT_SUPPORTED
public static final int KXMRC_API_MISUSE
public static final int KXMRC_COUNT_TOO_BIG
public static final int KXMRC_INVALID_HANDLE
public static final int KXMRC_INVALID_OPTIONS
public static final int KXMRC_INVALID_POINTER
public static final int KXMRC_INVALID_BUFFER
public static final int KXMRC_LIB_NOT_INITIALIZED
public static final int KXMRC_LIB_ALREADY_INITIALIZED
public static final int KXMRC_INVALID_ARRAY_VALUE
public static final int KXMRC_INVALID_FIELD_INFO
public static final int KXMRC_INVALID_MESSAGE_INFO
public static final int KXMRC_INVALID_COUNT
public static final int KXMRC_INVALID_ARRAYVAL
public static final int KXMRC_PARENT_IS_ABSENT
public static final int KXMRC_UNEXPECTED_CHANGES
public static final int KXMRC_LDAP_WRONG_CONFIG
public static final int KXMRC_CANNOT_LOAD_ILS
public static final int KXMRC_CONV_NOT_INSTALLED
public static final int KXMRC_SET_ILLEGAL_CLASS
public static final int KXMRC_NO_WRITE
Method Detail |
public int getReturnCode()
public int getFailedLayer()
public int getPosition()
public int getReason()
public int getErrorType()
public java.lang.String getLocation()
public java.lang.String getErrorMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public KxmException getSecondary()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |