Package org.qdl_lang.exceptions
Class BadArgException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.uiuc.ncsa.security.core.exceptions.GeneralException
-
- org.qdl_lang.exceptions.QDLException
-
- org.qdl_lang.exceptions.QDLExceptionWithTrace
-
- org.qdl_lang.exceptions.FunctionArgException
-
- org.qdl_lang.exceptions.BadArgException
-
- All Implemented Interfaces:
Serializable
public class BadArgException extends FunctionArgException
Thrown when the argument to a function is not an accepted type.Created by Jeff Gaynor
on 4/17/22 at 6:07 AM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadArgException(String message, int argIndex)
Pass in the index of the bad argument (in aQDLFunction
implementation to get filled in by the error handler.BadArgException(String message, Throwable cause, Statement statement)
BadArgException(String message, Statement statement)
BadArgException(Throwable cause, Statement statement)
BadArgException(Statement statement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getArgIndex()
void
setArgIndex(int argIndex)
-
Methods inherited from class org.qdl_lang.exceptions.QDLExceptionWithTrace
getScriptName, getScriptStack, getStatement, hasScriptStack, hasStatement, isScript, setScript, setScriptName, setScriptStack, setStatement, stackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadArgException
public BadArgException(Statement statement)
-
BadArgException
public BadArgException(String message, int argIndex)
Pass in the index of the bad argument (in aQDLFunction
implementation to get filled in by the error handler.- Parameters:
message
-argIndex
-
-
-