Package net.time4j.engine
Class ChronoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.time4j.engine.ChronoException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RuleNotFoundException
Indicates a chronological error situation.
- Author:
- Meno Hochschild
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionChronoException(String msg)
Creates a new instanceo ofChronoException
with given error message.ChronoException(String msg, Exception ex)
Creates a new instanceo ofChronoException
with given error message and the cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChronoException
Creates a new instanceo ofChronoException
with given error message.- Parameters:
msg
- detailed error message
-
ChronoException
Creates a new instanceo ofChronoException
with given error message and the cause.- Parameters:
msg
- detailed error messageex
- cause
-