org.violetlib.types
Class InvalidDataRuntimeException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- InvalidDataRuntimeException
-
- All Implemented Interfaces:
- Serializable
public final class InvalidDataRuntimeException extends RuntimeExceptionAn invalid data exception for situations where only unchecked exceptions are permitted (for example, in an iterator).This exception is a generic exception for reporting invalid data to the user. It should not be used for failures, such as a database that contains unexpected invalid data.
This exception must have a message, because the message is typically displayed to the user as an explanation of the problem. The exception class name is not normally displayed.
- See Also:
- Serialized Form
-
-
Static Methods Modifier and Type Static Method and Description create Create an invalid data exception with the specified message.create Create an invalid data exception with the specified message.
-