Directive hierarchy. May be thrown by a
directive visitor to
indicate that the visitor was created for a prior version of the language.
ModuleElement.DirectiveVisitor#visitUnknown
| Modifier and Type | Field and Description |
|---|---|
| private final transient ModuleElement. | |
| private final transient Object | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | UnknownDirectiveException(ModuleElement.
the unknown directive, may be d,nullan additional parameter, may be p)nullCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the additional argument, ornull if unavailableReturns the additional argument. |
| public ModuleElement. | Returns: the unknown directive, ornull if unavailableReturns the unknown directive. |
| directive | back to summary |
|---|---|
| private final transient ModuleElement. | |
| parameter | back to summary |
|---|---|
| private final transient Object parameter | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| UnknownDirectiveException | back to summary |
|---|---|
| public UnknownDirectiveException(ModuleElement. Creates a new
| |
| getArgument | back to summary |
|---|---|
| public Object getArgument() Returns the additional argument.
| |
| getUnknownDirective | back to summary |
|---|---|
| public ModuleElement. Returns the unknown directive. The value may be unavailable if this exception has been serialized and then read back in.
| |