Exception thrown when an Modifier was not found in the current JVM.
Exceptions of this type can be thrown if the compilation is being done by a more recent JVM version than the one that tries to retrieve the Modifier enumeration value.
The message returns the name of the Modifier that was not found.
saker.java.compiler 0.8.7
public | ModifierNotFoundException( Creates a new instance with the specified enum name and the IllegalArgumentException that caused it. |
public ModifierNotFoundException(String enumname, IllegalArgumentException cause) throws NullPointerException
Creates a new instance with the specified enum name and the IllegalArgumentException that caused it.
enumnameThe name of the Modifier that was not found.
causeThe exception that determined that the enumeration was not found. It is the one thrown by
Modifier.valueOf(String) .
NullPointerExceptionIf any of the arguments are
null
.