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:
Serializable
public class InvalidDataFormatException extends UnsupportedOperationException
An 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(String message)Constructs a newInvalidDataFormatExceptionwith a message.InvalidDataFormatException(String message, Throwable cause)Constructs a newInvalidDataFormatExceptionwith the specified message and cause.InvalidDataFormatException(Throwable cause)Constructs a newInvalidDataFormatExceptionwith the specified cause and a null message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidDataFormatException
public InvalidDataFormatException()
Constructs a newInvalidDataFormatException.
-
InvalidDataFormatException
public InvalidDataFormatException(String message)
Constructs a newInvalidDataFormatExceptionwith a message.- Parameters:
message- The message to display with the exception
-
InvalidDataFormatException
public InvalidDataFormatException(String message, Throwable cause)
Constructs a newInvalidDataFormatExceptionwith the specified message and cause.- Parameters:
message- The exception messagecause- The cause of this exception
-
InvalidDataFormatException
public InvalidDataFormatException(Throwable cause)
Constructs a newInvalidDataFormatExceptionwith the specified cause and a null message.- Parameters:
cause- The cause of this exception
-
-