Class UnsolvedSymbolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsolvedSymbolException
    extends java.lang.RuntimeException
    This exception is thrown when a symbol cannot be resolved.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.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.
      private java.lang.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.
      private java.lang.String name
      The name of the symbol that could not be resolved.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

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

        private java.lang.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 java.lang.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 Detail

      • UnsolvedSymbolException

        public UnsolvedSymbolException​(java.lang.String name)
      • UnsolvedSymbolException

        public UnsolvedSymbolException​(java.lang.String name,
                                       java.lang.String context)
      • UnsolvedSymbolException

        public UnsolvedSymbolException​(java.lang.String name,
                                       java.lang.Throwable cause)
      • UnsolvedSymbolException

        public UnsolvedSymbolException​(java.lang.String name,
                                       java.lang.String context,
                                       java.lang.Throwable cause)
    • Method Detail

      • getName

        public java.lang.String getName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable