Class CASException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CASException
    extends UIMAException
    Exception class for package org.apache.uima.cas. Automatically generated from message catalog.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CANT_CREATE_BUILTIN_FS
      The feature structure of type {0} cannot be created.
      static java.lang.String CYCLE_IN_TYPE_ORDER
      The types are added in the wrong sort order.
      static java.lang.String INAPPROP_TYPE_EXCEPTION
      The value of the feature {0} cannot be accessed as type {1}, because it is {2}.
      static java.lang.String JCAS_FEATURE_WRONG_TYPE
      The JCAS range type {2} for feature {1} of type {0} does not match the CAS range type {3} for the feature.
      static java.lang.String JCAS_FEATURENOTFOUND_ERROR
      JCas Type "{0}" implements getters and setters for feature "{1}", but the type system doesn't define that feature.
      static java.lang.String JCAS_INIT_ERROR
      The JCas cannot be initialized.
      static java.lang.String JCAS_TYPENOTFOUND_ERROR
      Type information from the CAS cannot be accessed while initializing the JCas type {0}
      static java.lang.String MUST_COMMIT_TYPE_SYSTEM
      Type system has not been committed; cannot create base index.
      static java.lang.String NOT_A_STRING
      The structure of type {0} cannot be accessed as a String.
      static java.lang.String TYPEORDER_UNKNOWN_TYPE
      The type sort order cannot be built because type {0} is unknown.
      static java.lang.String UNDEFINED_FEATURE
      The value of the feature {0} on the structure of type {1} cannot be accessed, because {0} is not defined for {1}.
    • Constructor Summary

      Constructors 
      Constructor Description
      CASException()  
      CASException​(java.lang.String aMessageKey, java.lang.Object[] aArguments)  
      CASException​(java.lang.String aMessageKey, java.lang.Object[] aArguments, java.lang.Throwable aCause)  
      CASException​(java.lang.String aResourceBundleName, java.lang.String aMessageKey, java.lang.Object[] aArguments)  
      CASException​(java.lang.String aResourceBundleName, java.lang.String aMessageKey, java.lang.Object[] aArguments, java.lang.Throwable aCause)  
      CASException​(java.lang.Throwable aCause)  
    • Field Detail

      • INAPPROP_TYPE_EXCEPTION

        public static final java.lang.String INAPPROP_TYPE_EXCEPTION
        The value of the feature {0} cannot be accessed as type {1}, because it is {2}.
        See Also:
        Constant Field Values
      • UNDEFINED_FEATURE

        public static final java.lang.String UNDEFINED_FEATURE
        The value of the feature {0} on the structure of type {1} cannot be accessed, because {0} is not defined for {1}.
        See Also:
        Constant Field Values
      • CANT_CREATE_BUILTIN_FS

        public static final java.lang.String CANT_CREATE_BUILTIN_FS
        The feature structure of type {0} cannot be created. Structures of this type cannot be created directly.
        See Also:
        Constant Field Values
      • NOT_A_STRING

        public static final java.lang.String NOT_A_STRING
        The structure of type {0} cannot be accessed as a String.
        See Also:
        Constant Field Values
      • CYCLE_IN_TYPE_ORDER

        public static final java.lang.String CYCLE_IN_TYPE_ORDER
        The types are added in the wrong sort order. Adding {0} < {1} makes the sort order inconsistent.
        See Also:
        Constant Field Values
      • JCAS_INIT_ERROR

        public static final java.lang.String JCAS_INIT_ERROR
        The JCas cannot be initialized. The following errors occurred: {0}
        See Also:
        Constant Field Values
      • JCAS_TYPENOTFOUND_ERROR

        public static final java.lang.String JCAS_TYPENOTFOUND_ERROR
        Type information from the CAS cannot be accessed while initializing the JCas type {0}
        See Also:
        Constant Field Values
      • JCAS_FEATURENOTFOUND_ERROR

        public static final java.lang.String JCAS_FEATURENOTFOUND_ERROR
        JCas Type "{0}" implements getters and setters for feature "{1}", but the type system doesn't define that feature.
        See Also:
        Constant Field Values
      • JCAS_FEATURE_WRONG_TYPE

        public static final java.lang.String JCAS_FEATURE_WRONG_TYPE
        The JCAS range type {2} for feature {1} of type {0} does not match the CAS range type {3} for the feature.
        See Also:
        Constant Field Values
      • TYPEORDER_UNKNOWN_TYPE

        public static final java.lang.String TYPEORDER_UNKNOWN_TYPE
        The type sort order cannot be built because type {0} is unknown.
        See Also:
        Constant Field Values
      • MUST_COMMIT_TYPE_SYSTEM

        public static final java.lang.String MUST_COMMIT_TYPE_SYSTEM
        Type system has not been committed; cannot create base index.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CASException

        public CASException()
      • CASException

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

        public CASException​(java.lang.String aMessageKey,
                            java.lang.Object[] aArguments)
      • CASException

        public CASException​(java.lang.String aResourceBundleName,
                            java.lang.String aMessageKey,
                            java.lang.Object[] aArguments,
                            java.lang.Throwable aCause)
      • CASException

        public CASException​(java.lang.String aResourceBundleName,
                            java.lang.String aMessageKey,
                            java.lang.Object[] aArguments)
      • CASException

        public CASException​(java.lang.Throwable aCause)