Class QCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.kingsrook.qqq.backend.core.exceptions.QException
com.kingsrook.qqq.backend.core.exceptions.QCodeException
- All Implemented Interfaces:
Serializable
Exception thrown while executing custom code in QQQ.
Context field is meant to give the user "context" for where the error occurred
- e.g., a line number or word that was bad.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQCodeException
(String message) Constructor of messageQCodeException
(String message, Throwable cause) Constructor of message invalid input: '&' cause -
Method Summary
Modifier and TypeMethodDescriptionGetter for contextvoid
setContext
(String context) Setter for contextMethods inherited from class com.kingsrook.qqq.backend.core.exceptions.QException
getHasLoggedError, getHasLoggedWarning, hasLoggedLevel, setHasLoggedError, setHasLoggedLevel, setHasLoggedWarning, withHasLoggedError, withHasLoggedWarning
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QCodeException
Constructor of message -
QCodeException
-
-
Method Details
-
getContext
Getter for context -
setContext
Setter for context
-