Package net.sf.basedb.core
Class DateFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.basedb.core.BaseException
-
- net.sf.basedb.core.InvalidDataException
-
- net.sf.basedb.core.DateFormatException
-
- All Implemented Interfaces:
Serializable
public class DateFormatException extends InvalidDataException
This exception is thrown when parsing a string into a date failed.- Since:
- 2.16
- Author:
- Nicklas
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description DateFormatException(String message)
Creates a newDateFormatException
.DateFormatException(String message, Throwable cause)
Creates a newDateFormatException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DateFormatException
public DateFormatException(String message)
Creates a newDateFormatException
.- Parameters:
message
- The message of the exception
-
-