org.openide.filesystems 7.38.2

org.openide.filesystems.annotations
Class LayerGenerationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openide.filesystems.annotations.LayerGenerationException
All Implemented Interfaces:
Serializable

public class LayerGenerationException
extends Exception

Exception thrown when a layer entry cannot be generated due to erroneous sources.

Since:
org.openide.filesystems 7.15
See Also:
Serialized Form

Constructor Summary
LayerGenerationException(String message)
          An exception with no associated element.
LayerGenerationException(String message, Element erroneousElement)
          An exception with an associated element.
LayerGenerationException(String message, Element erroneousElement, AnnotationMirror erroneousAnnotation)
          An exception with an associated annotation.
LayerGenerationException(String message, Element erroneousElement, AnnotationMirror erroneousAnnotation, AnnotationValue erroneousAnnotationValue)
          An exception with an associated annotation value.
 
Method Summary
 
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

LayerGenerationException

public LayerGenerationException(String message)
An exception with no associated element.

Parameters:
message - a detail message which could be reported to the user
See Also:
Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence)

LayerGenerationException

public LayerGenerationException(String message,
                                Element erroneousElement)
An exception with an associated element.

Parameters:
message - a detail message which could be reported to the user
erroneousElement - the associated element
See Also:
Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element)

LayerGenerationException

public LayerGenerationException(String message,
                                Element erroneousElement,
                                AnnotationMirror erroneousAnnotation)
An exception with an associated annotation.

Parameters:
message - a detail message which could be reported to the user
erroneousElement - the associated element
erroneousAnnotation - the annotation on the element
See Also:
Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror)

LayerGenerationException

public LayerGenerationException(String message,
                                Element erroneousElement,
                                AnnotationMirror erroneousAnnotation,
                                AnnotationValue erroneousAnnotationValue)
An exception with an associated annotation value.

Parameters:
message - a detail message which could be reported to the user
erroneousElement - the associated element
erroneousAnnotation - the annotation on the element
erroneousAnnotationValue - the value of that annotation
See Also:
Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror, AnnotationValue)

org.openide.filesystems 7.38.2

Built on September 19 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.