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.UnsupportedOperationExceptionAn exception that occurs when aDataFormatis 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 newInvalidDataFormatExceptionwith a message.InvalidDataFormatException(java.lang.String message, java.lang.Throwable cause)Constructs a newInvalidDataFormatExceptionwith the specified message and cause.InvalidDataFormatException(java.lang.Throwable cause)Constructs a newInvalidDataFormatExceptionwith the specified cause and a null message.
-
-
-
Constructor Detail
-
InvalidDataFormatException
public InvalidDataFormatException()
Constructs a newInvalidDataFormatException.
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.String message)
Constructs a newInvalidDataFormatExceptionwith a message.- Parameters:
message- The message to display with the exception
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.String message, java.lang.Throwable cause)Constructs a newInvalidDataFormatExceptionwith the specified message and cause.- Parameters:
message- The exception messagecause- The cause of this exception
-
InvalidDataFormatException
public InvalidDataFormatException(java.lang.Throwable cause)
Constructs a newInvalidDataFormatExceptionwith the specified cause and a null message.- Parameters:
cause- The cause of this exception
-
-