org.eclipse.nebula.widgets.nattable.data.validate
Class ValidationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.nebula.widgets.nattable.data.validate.ValidationFailedException
All Implemented Interfaces:
Serializable

public class ValidationFailedException
extends RuntimeException

Exception for handling validation failures. As the API should not be modified for the handling of this exception, it is a RuntimeException. To make use of this exception it can be thrown on validation errors within IDataValidator.validate(int, int, Object). The handling of this exception is done within AbstractCellEditor where the message is stored and showed within a dialog on trying to commit.

Author:
Dirk Fauth
See Also:
Serialized Form

Constructor Summary
ValidationFailedException(String message)
           
ValidationFailedException(String message, Throwable t)
           
 
Method Summary
 
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

ValidationFailedException

public ValidationFailedException(String message)

ValidationFailedException

public ValidationFailedException(String message,
                                 Throwable t)


Copyright © 2015. All rights reserved.