Class SenderMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.ua.theroer.magicutils.commands.SenderMismatchException
- All Implemented Interfaces:
Serializable
Thrown when the executing sender does not match the required sender type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSenderMismatchException(String expected) Create a new exception describing the expected sender type. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SenderMismatchException
Create a new exception describing the expected sender type.- Parameters:
expected- description of required sender
-