Class LowLevelException

  • All Implemented Interfaces:
    java.io.Serializable, I18nExceptionI

    public class LowLevelException
    extends UIMARuntimeException
    Exception class for package org.apache.uima.cas.impl. Automatically generated from message catalog.
    See Also:
    Serialized Form
    • Field Detail

      • INVALID_FS_REF

        public static final java.lang.String INVALID_FS_REF
        Error in low-level CAS APIs: accessing FS with id {0}, but no such FS exists in this CAS.
        See Also:
        Constant Field Values
      • VALUE_NOT_A_TYPE

        public static final java.lang.String VALUE_NOT_A_TYPE
        Error in low-level CAS APIs: attempt to interpret heap value {0} at {1} as type code, but {0} is not a valid type code. This is likely caused by a bad FS reference.
        See Also:
        Constant Field Values
      • INVALID_FEATURE_CODE

        public static final java.lang.String INVALID_FEATURE_CODE
        Error in low-level CAS APIs: {0} is not a valid feature code.
        See Also:
        Constant Field Values
      • FEAT_DOM_ERROR

        public static final java.lang.String FEAT_DOM_ERROR
        Error in low-level CAS APIs: type "{1}" (code: {0}) does not define feature "{3}" (code: {2}).
        See Also:
        Constant Field Values
      • FEAT_RAN_ERROR

        public static final java.lang.String FEAT_RAN_ERROR
        Error in low-level CAS APIs: feature "{1}" (code: {0}) does not take values of type "{3}" (code: {2}).
        See Also:
        Constant Field Values
      • FS_RAN_TYPE_ERROR

        public static final java.lang.String FS_RAN_TYPE_ERROR
        Error in low-level CAS APIs: trying to access value of feature "{1}" (code: {0}) as FS reference, but range of feature is "{2}".
        See Also:
        Constant Field Values
      • ACCESS_TYPE_ERROR

        public static final java.lang.String ACCESS_TYPE_ERROR
        Error in low-level CAS APIs: trying to access value FS reference {0} as type "{2}" (code: {1}), but is "{3}".
        See Also:
        Constant Field Values
      • ARRAY_INDEX_OUT_OF_RANGE

        public static final java.lang.String ARRAY_INDEX_OUT_OF_RANGE
        Error in low-level CAS APIs: array index out of range: {0}.
        See Also:
        Constant Field Values
      • ARRAY_INDEX_LENGTH_OUT_OF_RANGE

        public static final java.lang.String ARRAY_INDEX_LENGTH_OUT_OF_RANGE
        Error in low-level CAS APIs: array index and or length out of range. index: {0}, length: {1}.
        See Also:
        Constant Field Values
      • CREATE_FS_OF_TYPE_ERROR

        public static final java.lang.String CREATE_FS_OF_TYPE_ERROR
        Error in low-level CAS APIs: can't create FS reference for type code {0}.
        See Also:
        Constant Field Values
      • INVALID_INDEX_TYPE

        public static final java.lang.String INVALID_INDEX_TYPE
        Error in low-level CAS APIs: trying to access index for invalid type code: {0}.
        See Also:
        Constant Field Values
      • CREATE_ARRAY_OF_TYPE_ERROR

        public static final java.lang.String CREATE_ARRAY_OF_TYPE_ERROR
        Error in low-level CAS APIs: can't create array of type "{1}" (code: {0}). Must be a valid (built-in) array type.
        See Also:
        Constant Field Values
      • ILLEGAL_ARRAY_LENGTH

        public static final java.lang.String ILLEGAL_ARRAY_LENGTH
        Error in low-level CAS APIs: illegal array length specified: {0}.
        See Also:
        Constant Field Values
      • INVALID_TYPE_ARGUMENT

        public static final java.lang.String INVALID_TYPE_ARGUMENT
        Error in low-level CAS APIs: illegal type code argument: {0}.
        See Also:
        Constant Field Values
      • INVALID_TYPECODE

        public static final java.lang.String INVALID_TYPECODE
        Invalid Type Code value: {0}.
        See Also:
        Constant Field Values
      • NULL_ARRAY_ACCESS

        public static final java.lang.String NULL_ARRAY_ACCESS
        Error in low-level CAS APIs: attempting to access element {0} of array but array has null value.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LowLevelException

        public LowLevelException​(java.lang.String aMessageKey,
                                 java.lang.Object... aArguments)
      • LowLevelException

        public LowLevelException​(java.lang.String aMessageKey,
                                 java.lang.Object[] aArguments,
                                 java.lang.Throwable aCause)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
        Returns:
        The same as getMessage(), but prefixed with "LowLevelException: ".
      • getResourceBundleName

        public java.lang.String getResourceBundleName()
        Gets the base name of the resource bundle in which the message for this exception is located.
        Specified by:
        getResourceBundleName in interface I18nExceptionI
        Overrides:
        getResourceBundleName in class UIMARuntimeException
        Returns:
        the resource bundle base name. May return null if this exception has no message.