Class UnsolvedSymbolException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.javaparser.resolution.UnsolvedSymbolException
All Implemented Interfaces:
Serializable

public class UnsolvedSymbolException extends RuntimeException
This exception is thrown when a symbol cannot be resolved.
See Also:
  • Field Details

    • name

      private String name
      The name of the symbol that could not be resolved.
    • context

      private String context
      Additional information that provides more details on the context that a symbol could not be resolved in, or null if there is no contextual information, or if the contextual information is unknown.
    • cause

      private Throwable cause
      The throwable that caused this UnsolvedSymbolException to get thrown, or null if this UnsolvedSymbolException was not caused by another throwable, or if the causative throwable is unknown.
  • Constructor Details

    • UnsolvedSymbolException

      public UnsolvedSymbolException(String name)
    • UnsolvedSymbolException

      public UnsolvedSymbolException(String name, String context)
    • UnsolvedSymbolException

      public UnsolvedSymbolException(String name, Throwable cause)
    • UnsolvedSymbolException

      public UnsolvedSymbolException(String name, String context, Throwable cause)
  • Method Details