Package com.norconex.commons.lang.time
Class DurationParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.norconex.commons.lang.time.DurationParserException
-
- All Implemented Interfaces:
Serializable
public class DurationParserException extends RuntimeException
Runtime exception when aDurationParser
could not parse a string value.- Since:
- 1.13.0
- Author:
- Pascal Essiembre
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DurationParserException()
Constructor.DurationParserException(String message)
Constructor.DurationParserException(String message, Throwable cause)
Constructor.DurationParserException(Throwable cause)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DurationParserException
public DurationParserException()
Constructor.
-
DurationParserException
public DurationParserException(String message)
Constructor.- Parameters:
message
- exception message
-
DurationParserException
public DurationParserException(Throwable cause)
Constructor.- Parameters:
cause
- exception root cause
-
-