Class InvalidProfileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cryptomorin.xseries.profiles.exceptions.ProfileException
com.cryptomorin.xseries.profiles.exceptions.InvalidProfileException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnknownPlayerException
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 Summary
ConstructorsConstructorDescriptionInvalidProfileException(String value, String message) InvalidProfileException(String value, String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidProfileException
-
InvalidProfileException
-
-
Method Details
-
getValue
The invalid value.
-