Package org.spongepowered.api.data
Class DataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spongepowered.api.data.DataException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DataAlreadyRegisteredException,- DataRegistrationNotFoundException,- DuplicateDataStoreException,- DuplicateProviderException,- UnregisteredKeyException
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a new data exception.DataException(String message) Constructs a new data exception with a message.DataException(String message, Throwable cause) Constructs a new data exception with a message and throwable cause.DataException(Throwable cause) Constructs a new data exception with a throwable cause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DataExceptionpublic DataException()Constructs a new data exception.
- 
DataExceptionConstructs a new data exception with a message.- Parameters:
- message- The message
 
- 
DataExceptionConstructs a new data exception with a message and throwable cause.- Parameters:
- message- The message
- cause- The cause
 
- 
DataExceptionConstructs a new data exception with a throwable cause.- Parameters:
- cause- The cause
 
 
-