Package gnu.mapping

Class WrongType

All Implemented Interfaces:
Serializable

public class WrongType extends WrappedException
Exception thrown when a procedure parameter has the wrong type.
See Also:
  • Field Details

    • number

      public final int number
      Number of the argument, 1-origin.
      Can be an integer >= 1, or one of the values ARG_UNKNOWN, ARG_VARNAME, or ARG_DESCRIPTION.
    • ARG_UNKNOWN

      public static final int ARG_UNKNOWN
      number==ARG_UNKNOWN means unknown argument number.
      See Also:
    • ARG_VARNAME

      public static final int ARG_VARNAME
      number==ARG_VARNAME means not a call, procname is a variable name.
      See Also:
    • ARG_DESCRIPTION

      public static final int ARG_DESCRIPTION
      number==ARG_DESCRIPTION means not a call, procname describes the target. (deprecated/unused)
      See Also:
    • ARG_CAST

      public static final int ARG_CAST
      number==ARG_CAST means a general cast.
      See Also:
    • procname

      public String procname
      Name of Procedure that threw the exception (if non-null).
    • proc

      public Procedure proc
      The Procedure that threw the exception (if non-null).
    • argValue

      public final Object argValue
      The actual argument that was bad.
    • UNKNOWN

      public static final Object UNKNOWN
    • expectedType

      public Object expectedType
      The expected parameter type (a Type or TypeValue), or a string name/description.
  • Constructor Details

  • Method Details