public final class UnknownMessageException extends RuntimeException
| Constructor and Description |
|---|
UnknownMessageException(String clazz)
Constructs an exception for the given message identifier.
|
UnknownMessageException(String clazz,
Throwable cause)
Constructs an exception for the given message identifier
and the exception explaining when this message is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
String |
messageClass()
Returns the message class name.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnknownMessageException(String clazz)
clazz - the message class name.public String messageClass()
Copyright © 2019. All rights reserved.