sugar4j.lang
Class Sugar4jException.ParametersAreNotPairsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sugar4j.lang.Sugar4jException
                  extended by sugar4j.lang.Sugar4jException.ParametersAreNotPairsException
All Implemented Interfaces:
Serializable
Enclosing class:
Sugar4jException

public static class Sugar4jException.ParametersAreNotPairsException
extends Sugar4jException

Thrown whenever a parameter array is not empty and does not contain pairs.

See Also:
Serialized Form

Method Summary
static void checkArray(Object[] params)
          Checks the given array.
 

Method Detail

checkArray

public static void checkArray(Object[] params)
Checks the given array.

Parameters:
params -
Throws:
Sugar4jException.ParametersAreNotPairsException - if the array is not empty and does not contain pairs