Java Code Examples for org.apache.commons.math3.exception.util.LocalizedFormats#NUMBER_TOO_SMALL_BOUND_EXCLUDED

The following examples show how to use org.apache.commons.math3.exception.util.LocalizedFormats#NUMBER_TOO_SMALL_BOUND_EXCLUDED . 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: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 2
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 3
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 4
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 5
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 6
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 7
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}
 
Example 8
Source File: NumberIsTooSmallException.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Construct the exception.
 *
 * @param wrong Value that is smaller than the minimum.
 * @param min Minimum.
 * @param boundIsAllowed Whether {@code min} is included in the allowed range.
 */
public NumberIsTooSmallException(Number wrong,
                                 Number min,
                                 boolean boundIsAllowed) {
    this(boundIsAllowed ?
         LocalizedFormats.NUMBER_TOO_SMALL :
         LocalizedFormats.NUMBER_TOO_SMALL_BOUND_EXCLUDED,
         wrong, min, boundIsAllowed);
}