Class InvalidDataFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.UnsupportedOperationException
-
- org.spongepowered.api.data.persistence.InvalidDataFormatException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidDataFormatException extends java.lang.UnsupportedOperationException
An exception that occurs when aDataFormat
is unable to translate from a particular input.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidDataFormatException()
Constructs a newInvalidDataFormatException
.InvalidDataFormatException(java.lang.String message)
Constructs a newInvalidDataFormatException
with a message.InvalidDataFormatException(java.lang.String message, java.lang.Throwable cause)
Constructs a newInvalidDataFormatException
with the specified message and cause.InvalidDataFormatException(java.lang.Throwable cause)
Constructs a newInvalidDataFormatException
with the specified cause and a null message.
-
-
-
Constructor Detail
-
InvalidDataFormatException
public InvalidDataFormatException()
Constructs a newInvalidDataFormatException
.
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.String message)
Constructs a newInvalidDataFormatException
with a message.- Parameters:
message
- The message to display with the exception
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.String message, java.lang.Throwable cause)
Constructs a newInvalidDataFormatException
with the specified message and cause.- Parameters:
message
- The exception messagecause
- The cause of this exception
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.Throwable cause)
Constructs a newInvalidDataFormatException
with the specified cause and a null message.- Parameters:
cause
- The cause of this exception
-
-