Class LowLevelException

All Implemented Interfaces:
Serializable, I18nExceptionI

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

    • INVALID_FS_REF

      public static final 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:
    • VALUE_NOT_A_TYPE

      public static final 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:
    • INVALID_FEATURE_CODE

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

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

      public static final 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:
    • FS_RAN_TYPE_ERROR

      public static final 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:
    • ACCESS_TYPE_ERROR

      public static final 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:
    • ARRAY_INDEX_OUT_OF_RANGE

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

      public static final 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:
    • CREATE_FS_OF_TYPE_ERROR

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

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

      public static final 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:
    • ILLEGAL_ARRAY_LENGTH

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

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

      public static final String INVALID_TYPECODE
      Invalid Type Code value: {0}.
      See Also:
    • NULL_ARRAY_ACCESS

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

    • LowLevelException

      public LowLevelException(String aMessageKey, Object... aArguments)
    • LowLevelException

      public LowLevelException(String aMessageKey, Object[] aArguments, Throwable aCause)
  • Method Details

    • toString

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

      public 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.