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
ConstructorDescriptionConstructs a newInvalidDataFormatException
.InvalidDataFormatException
(String message) Constructs a newInvalidDataFormatException
with a message.InvalidDataFormatException
(String message, Throwable cause) Constructs a newInvalidDataFormatException
with the specified message and cause.Constructs a newInvalidDataFormatException
with 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 newInvalidDataFormatException
with a message.- Parameters:
message
- The message to display with the exception
-
InvalidDataFormatException
Constructs a newInvalidDataFormatException
with the specified message and cause.- Parameters:
message
- The exception messagecause
- The cause of this exception
-
InvalidDataFormatException
Constructs a newInvalidDataFormatException
with the specified cause and a null message.- Parameters:
cause
- The cause of this exception
-