public class KAConnectError extends AbstractMessage implements Control
Constructor and Description |
---|
KAConnectError(java.io.InputStream in)
A KAConnectError message that populates its data from a stream.
|
KAConnectError(int id,
java.lang.String message)
A KAConnectError with specified request ID and reason.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReason()
Get the reason for the error.
|
int |
getRequestID()
Get the request ID for the message.
|
addMessageComponent, getComponents, getURN, read, toString, write
public KAConnectError(java.io.InputStream in) throws java.io.IOException
in
- The InputStream to read.java.io.IOException
- If there is a problem reading the stream.public KAConnectError(int id, java.lang.String message)
id
- The ID of the request that failed.message
- The reason for the error.