Class SenderMismatchException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.ua.theroer.magicutils.commands.SenderMismatchException
All Implemented Interfaces:
Serializable

public class SenderMismatchException extends RuntimeException
Thrown when the executing sender does not match the required sender type.
See Also:
  • Constructor Details

    • SenderMismatchException

      public SenderMismatchException(String expected)
      Create a new exception describing the expected sender type.
      Parameters:
      expected - description of required sender