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 SummaryConstructors Constructor Description BadArgException(String message, int argIndex)Pass in the index of the bad argument (in aQDLFunctionimplementation 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetArgIndex()voidsetArgIndex(int argIndex)- 
Methods inherited from class org.qdl_lang.exceptions.QDLExceptionWithTracegetScriptName, getScriptStack, getStatement, hasScriptStack, hasStatement, isScript, setScript, setScriptName, setScriptStack, setStatement, stackTrace
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
BadArgExceptionpublic BadArgException(Statement statement) 
 - 
BadArgExceptionpublic BadArgException(String message, int argIndex) Pass in the index of the bad argument (in aQDLFunctionimplementation to get filled in by the error handler.- Parameters:
- message-
- argIndex-
 
 
- 
 
-