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:
java.io.Serializable
public class ProfileNotFoundException extends java.lang.RuntimeException
Thrown by a profile lookup service if a profile does not exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileNotFoundException()
Constructs a newProfileNotFoundException
.ProfileNotFoundException(java.lang.String message)
Constructs a newProfileNotFoundException
with the specified message.ProfileNotFoundException(java.lang.String message, java.lang.Throwable cause)
Constructs a newProfileNotFoundException
with the specified message and cause.ProfileNotFoundException(java.lang.Throwable cause)
Constructs a newProfileNotFoundException
with the specified cause and a null message.
-
-
-
Constructor Detail
-
ProfileNotFoundException
public ProfileNotFoundException()
Constructs a newProfileNotFoundException
.
-
ProfileNotFoundException
public ProfileNotFoundException(java.lang.String message)
Constructs a newProfileNotFoundException
with the specified message.- Parameters:
message
- The exception message
-
ProfileNotFoundException
public ProfileNotFoundException(java.lang.Throwable cause)
Constructs a newProfileNotFoundException
with the specified cause and a null message.- Parameters:
cause
- The cause of this exception
-
ProfileNotFoundException
public ProfileNotFoundException(java.lang.String message, java.lang.Throwable cause)
Constructs a newProfileNotFoundException
with the specified message and cause.- Parameters:
message
- The exception messagecause
- The cause of this exception
-
-