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:
java.io.Serializable
- Direct Known Subclasses:
DataAlreadyRegisteredException,DataRegistrationNotFoundException,DuplicateDataStoreException,DuplicateProviderException,UnregisteredKeyException
public class DataException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataException()Constructs a new data exception.DataException(java.lang.String message)Constructs a new data exception with a message.DataException(java.lang.String message, java.lang.Throwable cause)Constructs a new data exception with a message and throwable cause.DataException(java.lang.Throwable cause)Constructs a new data exception with a throwable cause.
-
-
-
Constructor Detail
-
DataException
public DataException()
Constructs a new data exception.
-
DataException
public DataException(java.lang.String message)
Constructs a new data exception with a message.- Parameters:
message- The message
-
DataException
public DataException(java.lang.String message, java.lang.Throwable cause)Constructs a new data exception with a message and throwable cause.- Parameters:
message- The messagecause- The cause
-
DataException
public DataException(java.lang.Throwable cause)
Constructs a new data exception with a throwable cause.- Parameters:
cause- The cause
-
-