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:
java.io.Serializable
class CombinatoricsException extends java.lang.IllegalArgumentException
Package private exception class with constants for frequently used messages.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
MISMATCH
Error message for "mismatch" condition.(package private) static java.lang.String
NEGATIVE
Error message for "out of range" condition.(package private) static java.lang.String
OUT_OF_RANGE
Error message for "out of range" condition.private static long
serialVersionUID
Serializable version identifier.
-
Constructor Summary
Constructors Constructor Description CombinatoricsException(java.lang.String message, java.lang.Object... formatArguments)
Create an exception where the message is constructed by applyingString.format(String, Object...)
.
-
-
-
Field Detail
-
OUT_OF_RANGE
static final java.lang.String OUT_OF_RANGE
Error message for "out of range" condition.- See Also:
- Constant Field Values
-
NEGATIVE
static final java.lang.String NEGATIVE
Error message for "out of range" condition.- See Also:
- Constant Field Values
-
MISMATCH
static final java.lang.String MISMATCH
Error message for "mismatch" condition.- See Also:
- Constant Field Values
-
serialVersionUID
private static final long serialVersionUID
Serializable version identifier.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CombinatoricsException
CombinatoricsException(java.lang.String message, java.lang.Object... formatArguments)
Create an exception where the message is constructed by applyingString.format(String, Object...)
.- Parameters:
message
- Exception message format stringformatArguments
- Arguments for formatting the message
-
-