Class UnresolvedReferenceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pgcodekeeper.core.exception.UnresolvedReferenceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MisplacedObjectException

public class UnresolvedReferenceException extends RuntimeException
Exception thrown when a database object reference cannot be resolved. Indicates that a referenced object was not found in the database schema.
See Also:
  • Constructor Details

    • UnresolvedReferenceException

      public UnresolvedReferenceException(org.antlr.v4.runtime.Token errorToken)
      Constructs exception with error token location.
      Parameters:
      errorToken - the token where unresolved reference occurred
    • UnresolvedReferenceException

      public UnresolvedReferenceException(String message, org.antlr.v4.runtime.Token errorToken)
      Constructs exception with message and error token location.
      Parameters:
      message - the detail message
      errorToken - the token where unresolved reference occurred
    • UnresolvedReferenceException

      public UnresolvedReferenceException(Throwable cause, org.antlr.v4.runtime.Token errorToken)
      Constructs exception with cause and error token location.
      Parameters:
      cause - the root cause exception
      errorToken - the token where unresolved reference occurred
    • UnresolvedReferenceException

      public UnresolvedReferenceException(String message, Throwable cause, org.antlr.v4.runtime.Token errorToken)
      Constructs exception with message, cause and error token location.
      Parameters:
      message - the detail message
      cause - the root cause exception
      errorToken - the token where unresolved reference occurred
    • UnresolvedReferenceException

      public UnresolvedReferenceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, org.antlr.v4.runtime.Token errorToken)
      Constructs exception with full exception details and error token location.
      Parameters:
      message - the detail message
      cause - the root cause exception
      enableSuppression - whether suppression is enabled
      writableStackTrace - whether stack trace is writable
      errorToken - the token where unresolved reference occurred
  • Method Details

    • getErrorToken

      public org.antlr.v4.runtime.Token getErrorToken()
      Gets the token where unresolved reference occurred.
      Returns:
      the error token