| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception hero.interfaces.InvalidValueException
InvalidValueException | public class InvalidValueException extends Exception (Code) | | An instance of this class is thrown when a Value Object
contains an invalid value. It parameters can then be used
with
java.text.MessageFormat MessageFormat to get
right message. The message this exceptions contains is not
the text but the key to get the right text from it.
author: Andreas Schaefer version: $Revision: 1.1 $ |
InvalidValueException | public InvalidValueException(String pMessageHandler, Object pParameters)(Code) | | Constructor with a message handler and a list of parameters
Parameters: pMessageHandler - Handler to lookup the right message Parameters: pParameters - One Parameter, array of parameters or a Collectionof parameters or null |
equals | public boolean equals(Object pTest)(Code) | | Determines if the given instance is the same as this instance
based on its content. This means that it has to be of the same
class ( or subclass ) and it has to have the same content
Returns the equals value from the super class |
getParameters | public Object[] getParameters()(Code) | | Returns the array of parameters coming along
Array of parameters which are always defined but can be empty |
hashCode | public int hashCode()(Code) | | Returns the hashcode of this instance
Hashcode of the super class |
toString | public String toString()(Code) | | Describes the instance and its content for debugging purpose
Using the one from the super class |
|
|
|