public class KittehServerMessageException extends RuntimeException
Constructor and Description |
---|
KittehServerMessageException(List<ServerMessage> messages,
String problem)
Constructs the exception.
|
KittehServerMessageException(ServerMessage message,
String problem)
Constructs the exception.
|
Modifier and Type | Method and Description |
---|---|
@NonNull List<ServerMessage> |
getServerMessages()
Gets the message that led to this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KittehServerMessageException(ServerMessage message, String problem)
message
- message that couldn't be processedproblem
- why it couldn't be processedpublic KittehServerMessageException(List<ServerMessage> messages, String problem)
messages
- messages that couldn't be processedproblem
- why it couldn't be processedpublic @NonNull List<ServerMessage> getServerMessages()
Copyright © 2013–2021 Kitteh. All rights reserved.