Class 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 Details

    • XPathArityException

      public XPathArityException()
    • XPathArityException

      public XPathArityException​(String funcName, int expectedArity, int providedArity)
      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 arguments
      expectedArity - number of arguments expected for this function call
      providedArity - number of arguments provided for this function call
    • XPathArityException

      public XPathArityException​(String funcName, String expectedArityMessage, int providedArity)
      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 arguments
      expectedArityMessage - message describing the expected arity logic of the function in question
      providedArity - number of arguments provided for this function call