|Package Summary Overview Summary|
public class UnknownDirectiveException extends javax.lang.model.UnknownEntityException
Directivehierarchy. May be thrown by a directive visitor to indicate that the visitor was created for a prior version of the language.
Creates a new
|Modifier and Type||Method||Description|
Returns the additional argument.
Returns the unknown directive.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public UnknownDirectiveException(ModuleElement.Directive d, java.lang.Object p)
pparameter may be used to pass in an additional argument with information about the context in which the unknown directive was encountered; for example, the visit methods of
DirectiveVisitormay pass in their additional parameter.
d- the unknown directive, may be
p- an additional parameter, may be
public ModuleElement.Directive getUnknownDirective()
public java.lang.Object getArgument()
Copyright © 1993, 2017, Oracle and/or its affiliates · All rights reserved · License