Groovy Documentation

com.ace.mws.events
[Groovy] Class ErrorMessage

java.lang.Object
  com.ace.mws.events.ErrorMessage

class ErrorMessage

Represents an error associated with an event

Authors:
seeleyn


Field Summary
private String errorCode

The original error code generated or detected by the originator.

private String message

If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message

private String originator

The software component or entity that generated or detected the error (e.g.

 
Constructor Summary
ErrorMessage()

 
Method Summary
String getErrorCode()

The original error code generated or detected by the originator.

String getMessage()

If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message

String getOriginator()

The software component or entity that generated or detected the error (e.g.

void setErrorCode(String errorCode)

The original error code generated or detected by the originator.

void setMessage(String message)

If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message

void setOriginator(String originator)

The software component or entity that generated or detected the error (e.g.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

errorCode

private String errorCode
The original error code generated or detected by the originator.


message

private String message
If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message


originator

private String originator
The software component or entity that generated or detected the error (e.g. Moab, Torque, MWS, Viewpoint, RM, Database, etc).


 
Constructor Detail

ErrorMessage

ErrorMessage()


 
Method Detail

getErrorCode

String getErrorCode()
The original error code generated or detected by the originator.


getMessage

String getMessage()
If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message


getOriginator

String getOriginator()
The software component or entity that generated or detected the error (e.g. Moab, Torque, MWS, Viewpoint, RM, Database, etc).


setErrorCode

void setErrorCode(String errorCode)
The original error code generated or detected by the originator.


setMessage

void setMessage(String message)
If an event has a status of "failure" or other non-successful operation, this field should provide a human-friendly error message


setOriginator

void setOriginator(String originator)
The software component or entity that generated or detected the error (e.g. Moab, Torque, MWS, Viewpoint, RM, Database, etc).


toString

String toString()


 

Groovy Documentation