Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

CASException.java

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.apache.uima.cas;

import org.apache.uima.UIMAException;

/**
 * Exception class for package org.apache.uima.cas. Automatically generated from message catalog.
 */
00027 public class CASException extends UIMAException {

  private static final long serialVersionUID = 2990279532203726966L;

  /** The value of the feature {0} cannot be accessed as type {1}, because it is {2}. */
00032   public static final String INAPPROP_TYPE_EXCEPTION = "INAPPROP_TYPE_EXCEPTION";

  /**
   * The value of the feature {0} on the structure of type {1} cannot be accessed, because {0} is
   * not defined for {1}.
   */
00038   public static final String UNDEFINED_FEATURE = "UNDEFINED_FEATURE";

  /**
   * The feature structure of type {0} cannot be created. Structures of this type cannot be created
   * directly.
   */
00044   public static final String CANT_CREATE_BUILTIN_FS = "CANT_CREATE_BUILTIN_FS";

  /** The structure of type {0} cannot be accessed as a String. */
00047   public static final String NOT_A_STRING = "NOT_A_STRING";

  /**
   * The types are added in the wrong sort order. Adding {0} < {1} makes the sort order
   * inconsistent.
   */
00053   public static final String CYCLE_IN_TYPE_ORDER = "CYCLE_IN_TYPE_ORDER";

  /** The JCas cannot be initialized. The following errors occurred: {0} */
00056   public static final String JCAS_INIT_ERROR = "JCAS_INIT_ERROR";

  /** Type information from the CAS cannot be accessed while initializing the JCas type {0} */
00059   public static final String JCAS_TYPENOTFOUND_ERROR = "JCAS_TYPENOTFOUND_ERROR";

  /**
   * Feature information from the CAS cannot be accessed while initializing the JCAS type {0} with
   * feature {1}.
   */
00065   public static final String JCAS_FEATURENOTFOUND_ERROR = "JCAS_FEATURENOTFOUND_ERROR";

  /**
   * The JCAS range type {2} for feature {1} of type {0} does not match the CAS range type {3} for
   * the feature.
   */
00071   public static final String JCAS_FEATURE_WRONG_TYPE = "JCAS_FEATURE_WRONG_TYPE";

  /** The type sort order cannot be built because type {0} is unknown. */
00074   public static final String TYPEORDER_UNKNOWN_TYPE = "TYPEORDER_UNKNOWN_TYPE";

  /** Type system has not been committed; cannot create base index. */
00077   public static final String MUST_COMMIT_TYPE_SYSTEM = "MUST_COMMIT_TYPE_SYSTEM";

  public CASException() {
    super();
  }

  public CASException(String aMessageKey, Object[] aArguments, Throwable aCause) {
    super(aMessageKey, aArguments, aCause);
  }

  public CASException(String aMessageKey, Object[] aArguments) {
    super(aMessageKey, aArguments);
  }

  public CASException(String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause) {
    super(aResourceBundleName, aMessageKey, aArguments, aCause);
  }

  public CASException(String aResourceBundleName, String aMessageKey, Object[] aArguments) {
    super(aResourceBundleName, aMessageKey, aArguments);
  }

  public CASException(Throwable aCause) {
    super(aCause);
  }

  

}

Generated by  Doxygen 1.6.0   Back to index