Class InvalidProfileException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnknownPlayerException

public class InvalidProfileException extends ProfileException
If a given Profileable has incorrect value (more general than UnknownPlayerException) which mostly happens when a string value is passed to be handled by ProfileInputType. E.g. invalid Base64, texture URLs, username, UUID, etc. Though most of these invalid values are just recognized as an unknown string instead of being invalid values of a specific input type.

Note: Unknown usernames and UUIDs are handled by UnknownPlayerException instead.

See Also:
  • Constructor Details

    • InvalidProfileException

      public InvalidProfileException(String value, String message)
    • InvalidProfileException

      public InvalidProfileException(String value, String message, Throwable cause)
  • Method Details

    • getValue

      @NotNull public @NotNull String getValue()
      The invalid value.