Class TownyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.palmergames.bukkit.towny.exceptions.TownyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyRegisteredException, CancelledEventException, InvalidMetadataTypeException, InvalidNameException, KeyAlreadyRegisteredException, MetaDataSerializationException, MojangException, NoPermissionException, NotRegisteredException, ResidentNPCException

public class TownyException extends Exception
See Also:
  • Constructor Details

    • TownyException

      public TownyException()
    • TownyException

      public TownyException(String message)
    • TownyException

      public TownyException(String message, Throwable cause)
    • TownyException

      public TownyException(Translatable message)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getMessage

      public String getMessage(org.bukkit.command.CommandSender sender)