Class CombinatoricsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.commons.numbers.combinatorics.CombinatoricsException
- All Implemented Interfaces:
Serializable
Package private exception class with constants for frequently used messages.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
Error message for "mismatch" condition.(package private) static final String
Error message for "out of range" condition.(package private) static final String
Error message for "out of range" condition.private static final long
Serializable version identifier. -
Constructor Summary
ConstructorsConstructorDescriptionCombinatoricsException
(String message, Object... formatArguments) Create an exception where the message is constructed by applying theformat()
method fromjava.text.MessageFormat
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
OUT_OF_RANGE
Error message for "out of range" condition.- See Also:
-
NEGATIVE
Error message for "out of range" condition.- See Also:
-
MISMATCH
Error message for "mismatch" condition.- See Also:
-
serialVersionUID
private static final long serialVersionUIDSerializable version identifier.- See Also:
-
-
Constructor Details
-
CombinatoricsException
Create an exception where the message is constructed by applying theformat()
method fromjava.text.MessageFormat
.- Parameters:
message
- Exception message with replaceable parameters.formatArguments
- 1rguments for formatting the message.
-