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
 
 public class DataException extends RuntimeException - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description DataException()Constructs 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.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
DataExceptionpublic DataException() Constructs a new data exception.
 - 
DataExceptionpublic DataException(String message) Constructs a new data exception with a message.- Parameters:
- message- The message
 
 - 
DataExceptionpublic DataException(String message, Throwable cause) Constructs a new data exception with a message and throwable cause.- Parameters:
- message- The message
- cause- The cause
 
 - 
DataExceptionpublic DataException(Throwable cause) Constructs a new data exception with a throwable cause.- Parameters:
- cause- The cause
 
 
- 
 
-