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 Throwable
The throwable that caused thisUnsolvedSymbolException
to get thrown, ornull
if thisUnsolvedSymbolException
was not caused by another throwable, or if the causative throwable is unknown.private String
Additional information that provides more details on the context that a symbol could not be resolved in, ornull
if there is no contextual information, or if the contextual information is unknown.private String
The 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, ornull
if there is no contextual information, or if the contextual information is unknown. -
cause
The throwable that caused thisUnsolvedSymbolException
to get thrown, ornull
if thisUnsolvedSymbolException
was not caused by another throwable, or if the causative throwable is unknown.
-
-
Constructor Details
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
UnsolvedSymbolException
-
-
Method Details