Package org.gvsig.annotation
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:
-
Field Summary
Fields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor to be used in rare cases, usually you must create a new child exception class for each case.AnnotationException(Exception cause) Constructor to be used in rare cases, usually you must create a new child exception class for each case.protectedAnnotationException(String message, String key, long code) protectedAnnotationException(String message, Throwable cause, String key, long code) -
Method Summary
Methods inherited from class org.gvsig.tools.exception.BaseException
containsCause, getCode, getFormatString, getHTMLMessageStack, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, getMessageStack, getValue, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue, valuesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
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
- Parameters:
message- the default messageFormat to describe the exceptionkey- the key to use to search a localized messageFormnatacode- the unique code to identify the exception
-
AnnotationException
- Parameters:
message- the default messageFormat to describe the exceptioncause- the original cause of the exceptionkey- the key to use to search a localized messageFormnatacode- the unique code to identify the exception
-