public class StatusMLMessageList extends Status
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary. Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The Knowledge Science Group makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Modifier and Type | Field and Description |
---|---|
private List<MLMessage> |
messages |
BAD_CONTENT_FIELD, BAD_REPLY_TO_FIELD, EXCEPTION_CAUGHT, SUCCESS, TIMEOUT, UNEXEPCTED_EXCEPTION_CAUGHT, UNKNOWN_ERROR, UNKNOWN_REPLY, UNKNOWN_WARNING
Constructor and Description |
---|
StatusMLMessageList() |
StatusMLMessageList(int status,
List<MLMessage> messages) |
StatusMLMessageList(int status,
String explanation,
List<MLMessage> messages) |
Modifier and Type | Method and Description |
---|---|
void |
fromString_extension(TokenParser parser)
To be overridden by subclasses to read any additional information from a string.
|
List<MLMessage> |
getMessages() |
void |
setMessages(List<MLMessage> messages) |
String |
toString_extension()
To be overridden by subclasses to write out any extended data.
|
clone, codeToString, fromString, fromString, fromString2, getExplanation, getStatusValue, main, setExplanation, setStatus, setStatusValue, toString
public StatusMLMessageList()
public StatusMLMessageList(int status, List<MLMessage> messages)
status
- messages
- public String toString_extension()
Status
toString_extension
in class Status
public void fromString_extension(TokenParser parser) throws Exception
Status
fromString_extension
in class Status
parser
- Exception
ParseException