Class AnnotationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gvsig.tools.exception.BaseException
org.gvsig.annotation.AnnotationException
All Implemented Interfaces:
Serializable, org.gvsig.tools.exception.IBaseException
Direct Known Subclasses:
AnnotationCreationException, AnnotationPositionCalculationException, AnnotationPositionCalculatorCreationException

public class AnnotationException extends org.gvsig.tools.exception.BaseException
Generic exception thrown in the Annotation API when the exception or error may be dealt by the program or the user of the program which is a client of the Annotation API.
Version:
$Id$
Author:
gvSIG team.
See Also:
  • Constructor Details

    • AnnotationException

      public AnnotationException()
      Constructor to be used in rare cases, usually you must create a new child exception class for each case. Don't use this constructor in child classes.
    • AnnotationException

      public AnnotationException(Exception cause)
      Constructor to be used in rare cases, usually you must create a new child exception class for each case.

      Don't use this constructor in child classes.

      Parameters:
      cause - the original cause of the exception
    • AnnotationException

      protected AnnotationException(String message, String key, long code)
      Parameters:
      message - the default messageFormat to describe the exception
      key - the key to use to search a localized messageFormnata
      code - the unique code to identify the exception
    • AnnotationException

      protected AnnotationException(String message, Throwable cause, String key, long code)
      Parameters:
      message - the default messageFormat to describe the exception
      cause - the original cause of the exception
      key - the key to use to search a localized messageFormnata
      code - the unique code to identify the exception