Class ProceduralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.frostlake.executor.procedural.ProceduralException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProceduralException(int errorCode, String message) ProceduralException(int errorCode, String message, String exceptionName) ProceduralException(String message) -
Method Summary
Modifier and TypeMethodDescriptionintThe declared name of the user-defined exception that was RAISEd, or null for an anonymous RAISE.intintvoidsetSourcePosition(int line, int position) 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: messagetail only when the exception declared one.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProceduralException
-
ProceduralException
-
ProceduralException
-
-
Method Details
-
getErrorCode
public int getErrorCode() -
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
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: messagetail only when the exception declared one. While the exception is still catchable,getMessage()stays the RAW text, which is what SQLERRM reads.
-