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
An exception that occurs when a
DataFormat is unable to translate
from a particular input.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newInvalidDataFormatException.InvalidDataFormatException(String message) Constructs a newInvalidDataFormatExceptionwith a message.InvalidDataFormatException(String message, Throwable cause) Constructs a newInvalidDataFormatExceptionwith the specified message and 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 Details
-
InvalidDataFormatException
public InvalidDataFormatException()Constructs a newInvalidDataFormatException. -
InvalidDataFormatException
Constructs a newInvalidDataFormatExceptionwith a message.- Parameters:
message- The message to display with the exception
-
InvalidDataFormatException
Constructs a newInvalidDataFormatExceptionwith the specified message and cause.- Parameters:
message- The exception messagecause- The cause of this exception
-
InvalidDataFormatException
Constructs a newInvalidDataFormatExceptionwith the specified cause and a null message.- Parameters:
cause- The cause of this exception
-