public class MessageException
extends java.io.IOException
Constructor and Description |
---|
MessageException(java.util.List<Message> messages) |
MessageException(Message[] messages)
Constructs a MessageException with no preamble.
|
MessageException(java.lang.String preamble,
java.util.List<Message> messages) |
MessageException(java.lang.String preamble,
Message[] messages)
Constructs a MessageException with the specified preamble and messages.
|
Modifier and Type | Method and Description |
---|---|
Message[] |
getMessages()
Returns the array of Messages.
|
java.util.List<Message> |
getMessagesList()
Returns the list of Messages.
|
java.lang.String |
getPreamble()
Returns the preamble, which may be null.
|
public MessageException(java.lang.String preamble, Message[] messages)
public MessageException(java.lang.String preamble, java.util.List<Message> messages)
public MessageException(Message[] messages)
public MessageException(java.util.List<Message> messages)