pt.digitalis.dif.exception.codegen
Class AnnotationMisuseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.digitalis.dif.exception.DIFException
pt.digitalis.dif.exception.codegen.DIFCodeGenerationException
pt.digitalis.dif.exception.codegen.AnnotationMisuseException
- All Implemented Interfaces:
- Serializable, IContextException
- Direct Known Subclasses:
- IllegalAnnotationUsage, IncompatiblePrimaryAnnotationsException
public abstract class AnnotationMisuseException
- extends DIFCodeGenerationException
Represents a DEM annotation misuse exception. It's an abstract class whose translate()
must be
implemented on the subclasses. Defines the keys that should be used on the context by all subclasses.
- Author:
- Rodrigo Gonçalves rgoncalves@digitalis.pt
- See Also:
- Serialized Form
- Created on:
- 2007/11/27
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AnnotationMisuseException
public AnnotationMisuseException(String reason,
Exception exception,
Map<String,Object> exceptionContext)
- Constructs a new AnnotationMisuseException from a reason, an exception and an exception context.
- Parameters:
reason
- the exception reason.exception
- the exception to encapsulate.exceptionContext
- the exception context.
AnnotationMisuseException
public AnnotationMisuseException(String reason,
Map<String,Object> exceptionContext)
- Constructs a new AnnotationMisuseException from a reason and an exception context.
- Parameters:
reason
- the exception reason.exceptionContext
- the exception context.
Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.