pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.view
Class AbstractStatisticsViewControllerResult.ResultError

java.lang.Object
  extended by org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResult.ResultError
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AbstractStatisticsViewControllerResult<T extends AbstractStatisticsViewControllerResultData>

protected static final class AbstractStatisticsViewControllerResult.ResultError
extends java.lang.Object
implements java.io.Serializable

Maps an error type string to an error message string.

Version:
$Revision: 2013 $
Author:
Daniel Dietz
See Also:
Serialized Form

Constructor Summary
protected AbstractStatisticsViewControllerResult.ResultError()
          Deprecated. 
protected AbstractStatisticsViewControllerResult.ResultError(java.lang.String errorType, java.lang.String errorMessage)
          Creates a new ResultError with the given type and the given message.
 
Method Summary
 java.lang.String getMessage()
          Returns the message of the ResultError.
 java.lang.String getType()
          Returns the type of the ResultError.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStatisticsViewControllerResult.ResultError

@Deprecated
protected AbstractStatisticsViewControllerResult.ResultError()
Deprecated. 

Default constructor.


AbstractStatisticsViewControllerResult.ResultError

protected AbstractStatisticsViewControllerResult.ResultError(java.lang.String errorType,
                                                             java.lang.String errorMessage)
Creates a new ResultError with the given type and the given message.

Parameters:
errorType - the type of the error
errorMessage - the message
Method Detail

getType

public java.lang.String getType()
Returns the type of the ResultError.

Returns:
the type

getMessage

public java.lang.String getMessage()
Returns the message of the ResultError.

Returns:
the message