Package org.spongepowered.api.data
Class DataRegistrationNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spongepowered.api.data.DataException
org.spongepowered.api.data.DataRegistrationNotFoundException
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a basic data registration not found exception.DataRegistrationNotFoundException(String registrationQuery) Constructs a data registration not found exception with a specified registration query, which will be used as the message.DataRegistrationNotFoundException(String message, @Nullable String registrationQuery) Constructs a data registration not found exception with a specified message and registration query.
- 
Method SummaryModifier and TypeMethodDescriptionGets the specified registration query, if present.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DataRegistrationNotFoundExceptionpublic DataRegistrationNotFoundException()Constructs a basic data registration not found exception.
- 
DataRegistrationNotFoundExceptionConstructs a data registration not found exception with a specified registration query, which will be used as the message.- Parameters:
- registrationQuery- The registration query
 
- 
DataRegistrationNotFoundExceptionConstructs a data registration not found exception with a specified message and registration query.- Parameters:
- message- The message
- registrationQuery- The registration query
 
 
- 
- 
Method Details- 
registrationQueryGets the specified registration query, if present.- Returns:
- The registration query, if present
 
 
-