metagloss 0.0.2

net.sf.metagloss
Class MissingAnnotationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.metagloss.MissingAnnotationException
All Implemented Interfaces:
java.io.Serializable

public class MissingAnnotationException
extends java.lang.RuntimeException

Thrown when a required annotation is missing.

See Also:
Serialized Form

Constructor Summary
MissingAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.Class<?> annotatedClass)
          Creates a new MissingAnnotationException.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MissingAnnotationException

public MissingAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                                  java.lang.Class<?> annotatedClass)
Creates a new MissingAnnotationException.

Parameters:
annotation - Expected annotation.
annotatedClass - Source class.
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable