com.jbbres.lib.actions.elements
Class InvalidParametersException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jbbres.lib.actions.elements.InvalidParametersException
All Implemented Interfaces:
java.io.Serializable

public class InvalidParametersException
extends java.lang.Exception

Signals that an incorrect Parameters object is trying to be assigned to the Element.

Since:
1.0.0
Version:
1.0.0
Author:
Jean-Baptiste Bres
See Also:
Parameters, Element.setParameters(Parameters), Serialized Form

Constructor Summary
InvalidParametersException(Element element, Parameters parameters)
          Instantiates a new invalid properties exception.
InvalidParametersException(Parameters parameters)
          Instantiates a new invalid properties exception.
 
Method Summary
 Element getElement()
          Returns the Element that has received an incorrect Parameters object.
 Parameters getParameters()
          Returns the invalid parameters causing the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidParametersException

public InvalidParametersException(Element element,
                                  Parameters parameters)
Instantiates a new invalid properties exception.

Parameters:
element - - the element
parameters - - the invalid Parameters object

InvalidParametersException

public InvalidParametersException(Parameters parameters)
Instantiates a new invalid properties exception.

Parameters:
parameters - - the invalid Parameters object
Method Detail

getElement

public Element getElement()
Returns the Element that has received an incorrect Parameters object.

Returns:
the Element that has received an incorrect Parameters object
See Also:
setElement(Element)

getParameters

public Parameters getParameters()
Returns the invalid parameters causing the exception.

Returns:
the invalid parameters causing the exception
See Also:
setParameters(Parameters)


To file bugs or suggest feature enhancements, visit the app.jbbres.com Bug Reporter website.

Additional documentation available online at http://app.jbbres.com/actions/developers.

Copyright � 2009-2011 app.jbbres.com. All Rights Reserved.