Java Code Examples for org.apache.commons.math.exception.util.LocalizedFormats#MAX_COUNT_EXCEEDED

The following examples show how to use org.apache.commons.math.exception.util.LocalizedFormats#MAX_COUNT_EXCEEDED . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MaxCountExceededException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception with a specific context.
 *
 * @param specific Specific contexte pattern.
 * @param max Maximum.
 */
public MaxCountExceededException(Localizable specific,
                                 Number max) {
    super(specific,
          LocalizedFormats.MAX_COUNT_EXCEEDED,
          max);

    this.max = max;
}
 
Example 2
Source File: MaxCountExceededException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param max Maximum.
 */
public MaxCountExceededException(Number max) {
    this(LocalizedFormats.MAX_COUNT_EXCEEDED, max);
}
 
Example 3
Source File: MaxCountExceededException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param max Maximum.
 */
public MaxCountExceededException(Number max) {
    this(LocalizedFormats.MAX_COUNT_EXCEEDED, max);
}
 
Example 4
Source File: MaxCountExceededException.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param max Maximum.
 */
public MaxCountExceededException(Number max) {
    this(LocalizedFormats.MAX_COUNT_EXCEEDED, max);
}