Package org.javarosa.xpath
Class XPathArityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.javarosa.xpath.XPathException
org.javarosa.xpath.XPathArityException
- All Implemented Interfaces:
Serializable
public class XPathArityException extends XPathException
An exception detailing a function call that was provided the incorrect
number of arguments.
Created by wpride1 on 3/28/15.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XPathArityException()XPathArityException(String funcName, int expectedArity, int providedArity)An exception detailing a function call that was provided the incorrect number of arguments.XPathArityException(String funcName, String expectedArityMessage, int providedArity)An exception detailing a function call that was provided the incorrect number of arguments. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XPathArityException
public XPathArityException() -
XPathArityException
An exception detailing a function call that was provided the incorrect number of arguments.- Parameters:
funcName- name of function that was called with incorrect number of argumentsexpectedArity- number of arguments expected for this function callprovidedArity- number of arguments provided for this function call
-
XPathArityException
An exception detailing a function call that was provided the incorrect number of arguments.- Parameters:
funcName- name of function that was called with incorrect number of argumentsexpectedArityMessage- message describing the expected arity logic of the function in questionprovidedArity- number of arguments provided for this function call
-