Top Description Fields Constructors Methods
org.apache.commons.math3.exception

public Class MaxCountExceededException

extends MathIllegalStateException
Class Inheritance
Known Direct Subclasses
org.apache.commons.math3.exception.TooManyEvaluationsException, org.apache.commons.math3.exception.TooManyIterationsException
Imports
org.apache.commons.math3.exception.util.Localizable, .LocalizedFormats

Exception to be thrown when some counter maximum value is exceeded.
Since
3.0

Field Summary

Modifier and TypeField and Description
private final Number
max

Maximum number of evaluations.

private static final long

Constructor Summary

AccessConstructor and Description
public
MaxCountExceededException(Number
Maximum.
max
)

Construct the exception.

public
MaxCountExceededException(Localizable
Specific context pattern.
specific
,
Number
Maximum.
max
,
Object...
Additional arguments.
args
)

Construct the exception with a specific context.

Method Summary

Modifier and TypeMethod and Description
public Number

Returns:

the maximum number of evaluations.
getMax
()

Inherited from org.apache.commons.math3.exception.MathIllegalStateException:
getContextgetLocalizedMessagegetMessage

Field Detail

maxback to summary
private final Number max

Maximum number of evaluations.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.commons.math3.exception.MathIllegalStateException.serialVersionUID.

Serializable version Id.

Constructor Detail

MaxCountExceededExceptionback to summary
public MaxCountExceededException(Number max)

Construct the exception.

Parameters
max:Number

Maximum.

MaxCountExceededExceptionback to summary
public MaxCountExceededException(Localizable specific, Number max, Object... args)

Construct the exception with a specific context.

Parameters
specific:Localizable

Specific context pattern.

max:Number

Maximum.

args:Object[]

Additional arguments.

Method Detail

getMaxback to summary
public Number getMax()
Returns:Number

the maximum number of evaluations.