Package com.github.javaparser.resolution
Class UnsolvedSymbolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.javaparser.resolution.UnsolvedSymbolException
- All Implemented Interfaces:
Serializable
This exception is thrown when a symbol cannot be resolved.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ThrowableThe throwable that caused thisUnsolvedSymbolExceptionto get thrown, ornullif thisUnsolvedSymbolExceptionwas not caused by another throwable, or if the causative throwable is unknown.private StringAdditional information that provides more details on the context that a symbol could not be resolved in, ornullif there is no contextual information, or if the contextual information is unknown.private StringThe name of the symbol that could not be resolved. -
Constructor Summary
ConstructorsConstructorDescriptionUnsolvedSymbolException(String name, String context) UnsolvedSymbolException(String name, String context, Throwable cause) UnsolvedSymbolException(String name, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
name
The name of the symbol that could not be resolved. -
context
Additional information that provides more details on the context that a symbol could not be resolved in, ornullif there is no contextual information, or if the contextual information is unknown. -
cause
The throwable that caused thisUnsolvedSymbolExceptionto get thrown, ornullif thisUnsolvedSymbolExceptionwas not caused by another throwable, or if the causative throwable is unknown.
-
-
Constructor Details
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
-
Method Details