Package org.spongepowered.api.profile
Class ProfileNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spongepowered.api.profile.ProfileNotFoundException
- All Implemented Interfaces:
Serializable
Thrown by a profile lookup service if a profile does not exist.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newProfileNotFoundException
.ProfileNotFoundException
(String message) Constructs a newProfileNotFoundException
with the specified message.ProfileNotFoundException
(String message, Throwable cause) Constructs a newProfileNotFoundException
with the specified message and cause.Constructs a newProfileNotFoundException
with the specified cause and a null message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProfileNotFoundException
public ProfileNotFoundException()Constructs a newProfileNotFoundException
. -
ProfileNotFoundException
Constructs a newProfileNotFoundException
with the specified message.- Parameters:
message
- The exception message
-
ProfileNotFoundException
Constructs a newProfileNotFoundException
with the specified cause and a null message.- Parameters:
cause
- The cause of this exception
-
ProfileNotFoundException
Constructs a newProfileNotFoundException
with the specified message and cause.- Parameters:
message
- The exception messagecause
- The cause of this exception
-