Class ProceduralException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.frostlake.executor.procedural.ProceduralException
All Implemented Interfaces:
Serializable

public class ProceduralException extends RuntimeException
See Also:
  • Constructor Details

    • ProceduralException

      public ProceduralException(String message)
    • ProceduralException

      public ProceduralException(int errorCode, String message)
    • ProceduralException

      public ProceduralException(int errorCode, String message, String exceptionName)
  • Method Details

    • getErrorCode

      public int getErrorCode()
    • getExceptionName

      public String getExceptionName()
      The declared name of the user-defined exception that was RAISEd, or null for an anonymous RAISE.
    • getSourceLine

      public int getSourceLine()
    • getSourcePosition

      public int getSourcePosition()
    • setSourcePosition

      public void setSourcePosition(int line, int position)
    • uncaughtMessage

      public String uncaughtMessage()
      How an UNCAUGHT exception reads at the top of a block, live-verified: Uncaught exception of type 'NAME' on line L at position P : message — the : message tail only when the exception declared one. While the exception is still catchable, getMessage() stays the RAW text, which is what SQLERRM reads.