net.sourceforge.pebble.web.validation
Class ValidationError

java.lang.Object
  extended by net.sourceforge.pebble.web.validation.ValidationError

public class ValidationError
extends java.lang.Object

Represents a error that is raised during validation.

Author:
Simon Brown

Constructor Summary
ValidationError(java.lang.String message)
          Creates a new instance with the given message.
 
Method Summary
 java.lang.String getMessage()
          Gets the message associated with this error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationError

public ValidationError(java.lang.String message)
Creates a new instance with the given message.

Parameters:
message - the message as a String
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message associated with this error.

Returns:
the message as a String


Copyright © 2003-2006, Simon Brown. All Rights Reserved.