Class MisplacedObjectException

All Implemented Interfaces:
Serializable

public class MisplacedObjectException extends UnresolvedReferenceException
Exception indicating incorrect placement or reference to a database object. Thrown when an object is referenced in a context where it doesn't belong.
See Also:
  • Constructor Details

    • MisplacedObjectException

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

      public MisplacedObjectException(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 error occurred
    • MisplacedObjectException

      public MisplacedObjectException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, org.antlr.v4.runtime.Token errorToken)
      Constructs exception with full exception details.
      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 error occurred
    • MisplacedObjectException

      public MisplacedObjectException(String format, org.antlr.v4.runtime.Token errToken)
      Constructs exception with formatted message.
      Parameters:
      format - the message format string
      errToken - the token where error occurred