pt.digitalis.dif.exception.codegen
Class IllegalAnnotationUsage

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pt.digitalis.dif.exception.DIFException
              extended by pt.digitalis.dif.exception.codegen.DIFCodeGenerationException
                  extended by pt.digitalis.dif.exception.codegen.AnnotationMisuseException
                      extended by pt.digitalis.dif.exception.codegen.IllegalAnnotationUsage
All Implemented Interfaces:
Serializable, IContextException

public class IllegalAnnotationUsage
extends AnnotationMisuseException

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt
See Also:
Serialized Form
Created on:
2008/11/26

Nested Class Summary
 
Nested classes/interfaces inherited from class pt.digitalis.dif.exception.codegen.AnnotationMisuseException
AnnotationMisuseException.ContextKeys
 
Constructor Summary
IllegalAnnotationUsage(String reason, Exception exception, Map<String,Object> exceptionContext)
          Constructs a new IllegalAnnotationUsage from a reason, an exception and an exception context.
IllegalAnnotationUsage(String reason, Map<String,Object> exceptionContext)
          Constructs a new IllegalAnnotationUsage from a reason, an exception 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
 

Constructor Detail

IllegalAnnotationUsage

public IllegalAnnotationUsage(String reason,
                              Exception exception,
                              Map<String,Object> exceptionContext)
Constructs a new IllegalAnnotationUsage from a reason, an exception and an exception context.

Parameters:
reason - the exception reason.
exception - the exception to encapsulate.
exceptionContext - the exception context.

IllegalAnnotationUsage

public IllegalAnnotationUsage(String reason,
                              Map<String,Object> exceptionContext)
Constructs a new IllegalAnnotationUsage from a reason, an exception and an exception context.

Parameters:
reason - the exception reason.
exceptionContext - the exception context.


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.