MetaDone
metadone.exception.BadPreCondition Class Reference
Inheritance diagram for metadone.exception.BadPreCondition:

List of all members.

Public Member Functions

 BadPreCondition ()
 BadPreCondition (String s)
 BadPreCondition (Exception e)
 BadPreCondition (String explanation, Throwable exception)
BadPreCondition setInfo (Object _info)
Object getInfo ()

Private Attributes

Object info = null

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

This exception is thrown when the check of a precondition has failed. The caller has the insurance that the call had not effect on the state of the program.


Constructor & Destructor Documentation

metadone.exception.BadPreCondition.BadPreCondition ( )
metadone.exception.BadPreCondition.BadPreCondition ( String  s)
metadone.exception.BadPreCondition.BadPreCondition ( Exception  e)
metadone.exception.BadPreCondition.BadPreCondition ( String  explanation,
Throwable  exception 
)

Member Function Documentation

Object metadone.exception.BadPreCondition.getInfo ( )
Returns:
The information about this exception and null if the information does not exist.

References metadone.exception.BadPreCondition.info.

Referenced by metadone.client.MainClientMetadone.getUser().

BadPreCondition metadone.exception.BadPreCondition.setInfo ( Object  _info)

Initialize the information about the exception. This initialization is not mandatory. The information is then null.

Parameters:
_info
Returns:
this

References metadone.exception.BadPreCondition.info.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations