|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 pt.digitalis.dif.exception.codegen.IncompatiblePrimaryAnnotationsException
public class IncompatiblePrimaryAnnotationsException
Exception raised by the validation module when two incompatible primary DEM Annotations are used on the same element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class pt.digitalis.dif.exception.codegen.AnnotationMisuseException |
---|
AnnotationMisuseException.ContextKeys |
Field Summary | |
---|---|
static String |
ATTRIBUTE_SCOPE
The tag for 'attribute scope' annotations. |
static String |
CLASS_SCOPE
The tag for 'class scope' annotations. |
static String |
INCOMPATIBLE_PRIMARY_ANNOTATIONS_MESSAGE
The message associated with incompatible primary annotation misuse. |
static String |
METHOD_SCOPE
The tag for 'method scope' annotations. |
Constructor Summary | |
---|---|
IncompatiblePrimaryAnnotationsException(String reason,
Exception exception,
Map<String,Object> exceptionContext)
Constructs a new IncompatiblePrimaryAnnotationsException from a reason, an exception and an exception context. |
|
IncompatiblePrimaryAnnotationsException(String reason,
Map<String,Object> exceptionContext)
Constructs a new IncompatiblePrimaryAnnotationsException from a reason and an exception context. |
Method Summary |
---|
Methods inherited from class pt.digitalis.dif.exception.DIFException |
---|
addToExceptionContext, getExceptionContext, getRenderedExceptionContext, setExceptionContext |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String INCOMPATIBLE_PRIMARY_ANNOTATIONS_MESSAGE
public static final String CLASS_SCOPE
public static final String METHOD_SCOPE
public static final String ATTRIBUTE_SCOPE
Constructor Detail |
---|
public IncompatiblePrimaryAnnotationsException(String reason, Map<String,Object> exceptionContext)
reason
- the exception reason.exceptionContext
- the exception context.public IncompatiblePrimaryAnnotationsException(String reason, Exception exception, Map<String,Object> exceptionContext)
reason
- the exception reason.exception
- the exception to encapsulate.exceptionContext
- the exception context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |