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
public class ProfileNotFoundException extends 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(String message)Constructs a newProfileNotFoundExceptionwith the specified message.ProfileNotFoundException(String message, Throwable cause)Constructs a newProfileNotFoundExceptionwith the specified message and cause.ProfileNotFoundException(Throwable cause)Constructs a newProfileNotFoundExceptionwith 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 Detail
-
ProfileNotFoundException
public ProfileNotFoundException()
Constructs a newProfileNotFoundException.
-
ProfileNotFoundException
public ProfileNotFoundException(String message)
Constructs a newProfileNotFoundExceptionwith the specified message.- Parameters:
message- The exception message
-
ProfileNotFoundException
public ProfileNotFoundException(Throwable cause)
Constructs a newProfileNotFoundExceptionwith the specified cause and a null message.- Parameters:
cause- The cause of this exception
-
ProfileNotFoundException
public ProfileNotFoundException(String message, Throwable cause)
Constructs a newProfileNotFoundExceptionwith the specified message and cause.- Parameters:
message- The exception messagecause- The cause of this exception
-
-