JavaGantt 2011.1 API

eu.beesoft.gaia.validation
Class ValidationError

java.lang.Object
  extended by eu.beesoft.gaia.validation.ValidationError

public class ValidationError
extends java.lang.Object

An instance of this class covers one error from validation.


Constructor Summary
ValidationError(java.lang.Object source, java.lang.String message)
          Creates a new instance of validation error.
 
Method Summary
 java.lang.String getMessage()
          Returns a message of this error.
 java.lang.Object getSource()
          Returns a source object of 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.Object source,
                       java.lang.String message)
Creates a new instance of validation error.

Parameters:
source - - a source object of validation error
message - - a message of validation error
Method Detail

getSource

public java.lang.Object getSource()
Returns a source object of this error.

Returns:
a source object of validation error

getMessage

public java.lang.String getMessage()
Returns a message of this error.

Returns:
a message of validation error

JavaGantt 2011.1 API