Enhydra 5.1 API

org.enhydra.tool.common
Class DataValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.enhydra.tool.common.ToolException
                    |
                    +--org.enhydra.tool.common.DataValidationException
All Implemented Interfaces:
java.io.Serializable

public class DataValidationException
extends ToolException

The DataValidationException thrown when validating panel entriesvalues.

See Also:
Serialized Form

Constructor Summary
DataValidationException(java.lang.String message)
          Create a GeneratorException with a specified error message.
DataValidationException(java.lang.Throwable chain, java.lang.String message)
          Create a ValidationException linked to a parent exception.
 
Method Summary
 java.lang.String getValidationMessage()
          Get the message of this exception without any other chain member messages.
 
Methods inherited from class org.enhydra.tool.common.ToolException
getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataValidationException

public DataValidationException(java.lang.String message)
Create a GeneratorException with a specified error message.

Parameters:
message - Message providing information on the nature of the exception.

DataValidationException

public DataValidationException(java.lang.Throwable chain,
                               java.lang.String message)
Create a ValidationException linked to a parent exception.

Parameters:
chain - Parent exception to include in stack trace.
message - Message providing information on the nature of the exception.
Method Detail

getValidationMessage

public java.lang.String getValidationMessage()
Get the message of this exception without any other chain member messages.

Returns:
A single exception message.

Enhydra 5.1 API