Object
Throwable
Exception
RuntimeException
PreconditionException
- All Implemented Interfaces:
Serializable
Exception which is thrown by
Preconditions
methods.- See Also:
-
Constructor Summary
ConstructorDescriptionPreconditionException
(double expected, double actual) PreconditionException
(long expected, long actual) PreconditionException
(String message) PreconditionException
(String message, double expected, double actual) PreconditionException
(String message, long expected, long actual) PreconditionException
(String fmt, Object... objs) PreconditionException
(String message, T expected, T actual) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreconditionException
-
PreconditionException
-
PreconditionException
-
PreconditionException
public PreconditionException(long expected, long actual) -
PreconditionException
-
PreconditionException
public PreconditionException(double expected, double actual) -
PreconditionException
-
PreconditionException
-