public class ErrorMessage extends Object implements XMLConvertible
| Constructor and Description |
|---|
ErrorMessage(boolean display,
MessageType messageType,
String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static ErrorMessage |
create()
Create a new default ErrorMessage.
|
public ErrorMessage(boolean display,
MessageType messageType,
String title)
display - whether to display or not this messagemessageType - the type of the messagetitle - the title of the message.public static ErrorMessage create()
public void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedCopyright © 2016–2021. All rights reserved.