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:
DataRegistrationNotFoundException
,DuplicateDataStoreException
,DuplicateProviderException
,UnregisteredKeyException
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs 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 Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataException
public DataException()Constructs a new data exception. -
DataException
Constructs a new data exception with a message.- Parameters:
message
- The message
-
DataException
Constructs a new data exception with a message and throwable cause.- Parameters:
message
- The messagecause
- The cause
-
DataException
Constructs a new data exception with a throwable cause.- Parameters:
cause
- The cause
-