org.opends.testqa.monitoringclient
Class Error

java.lang.Object
  extended by org.opends.testqa.monitoringclient.Error

public class Error
extends java.lang.Object

Represent an error occured during the retrieving of the datas.


Constructor Summary
Error(java.lang.String protocol, java.lang.String attribute, java.lang.String message)
          The constructor of the Error object.
Error(java.lang.String protocol, java.lang.String attribute, java.lang.String message, java.util.Date date)
          The constructor of the Error object.
 
Method Summary
 java.lang.String getAttribute()
          Returns the attribute.
 java.util.Date getDate()
          Returns the date.
 java.lang.String getMessage()
          Returns the error message.
 java.lang.String getProtocol()
          Returns the protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Error

public Error(java.lang.String protocol,
             java.lang.String attribute,
             java.lang.String message)
The constructor of the Error object.

Parameters:
protocol - The name of the protocol
attribute - The name of the attribute who couldn't be retrieve.
message - The error message.

Error

public Error(java.lang.String protocol,
             java.lang.String attribute,
             java.lang.String message,
             java.util.Date date)
The constructor of the Error object.

Parameters:
protocol - The name of the protocol
attribute - The name of the attribute who couldn't be retrieve.
message - The error message.
date - The date of the error
Method Detail

getDate

public java.util.Date getDate()
Returns the date.

Returns:
The date of the error.

getProtocol

public java.lang.String getProtocol()
Returns the protocol.

Returns:
The name of the protocol.

getAttribute

public java.lang.String getAttribute()
Returns the attribute.

Returns:
The attribute who couldn't be retrieve.

getMessage

public java.lang.String getMessage()
Returns the error message.

Returns:
The error message.