Lombok.ast - v0.2

lombok.ast.resolve
Class AnnotationClassNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by lombok.ast.ResolutionException
                  extended by lombok.ast.resolve.AnnotationClassNotAvailableException
All Implemented Interfaces:
Serializable

public class AnnotationClassNotAvailableException
extends ResolutionException

This exception can be thrown when a Class returning method is called on an annotation instance from Resolver.toAnnotationInstance(Class, lombok.ast.Annotation). You should use Resolver.getAnnotationClassAsString(java.lang.annotation.Annotation, String) instead.

See Also:
Serialized Form

Constructor Summary
AnnotationClassNotAvailableException(Node problemNode, String className)
           
 
Method Summary
 
Methods inherited from class lombok.ast.ResolutionException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationClassNotAvailableException

public AnnotationClassNotAvailableException(Node problemNode,
                                            String className)

Lombok.ast - v0.2

Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.