org.xulux.api.dataprovider
Class InvalidValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.xulux.api.dataprovider.InvalidValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidValueException
extends java.lang.RuntimeException

This exception can be used to say to the widget who's value is set that the value entered by the user is invalid. This method should be used in eg dataproviders, which do not have any knowledge about widgets. The String passed into the constructor, can eg be used to display a message to the user.

Version:
$Id: InvalidValueException.java,v 1.1 2005/12/18 12:58:24 mvdb Exp $
Author:
Martin van den Bemt
See Also:
Serialized Form

Constructor Summary
InvalidValueException()
           
InvalidValueException(java.lang.String s)
           
InvalidValueException(java.lang.String s, java.lang.Throwable cause)
          Exception with a cause and a message.
InvalidValueException(java.lang.Throwable cause)
          Exception with a cause.
 
Method Summary
 java.lang.Throwable getRootCause()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidValueException

public InvalidValueException()

InvalidValueException

public InvalidValueException(java.lang.Throwable cause)
Exception with a cause. Just note : This is supposed to work on jdk1.3! So hence the reason of add t to the equation

Parameters:
cause - the cause of the exception

InvalidValueException

public InvalidValueException(java.lang.String s,
                             java.lang.Throwable cause)
Exception with a cause and a message. Just note : This is supposed to work on jdk1.3! So hence the reason of add t to the equation

Parameters:
cause -

InvalidValueException

public InvalidValueException(java.lang.String s)
Parameters:
s -
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns:
the rootcause of the exception. This can be null if something is just an invalidvalue


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.