public static void validateGreaterThan( Number value, Number limit, String identifier )
        throws PostConditionException
    {
        if( value.doubleValue() > limit.doubleValue() )
        {
            return;
        }
        throw new PostConditionException( identifier + " was not greater than " + limit + ". Was: " + value );
    }
public static void validateGreaterThan ( Number value , Number limit , String identifier ) throws PostConditionException { if ( value . doubleValue ( ) > limit . doubleValue ( ) ) { return ; } throw new PostConditionException ( identifier + " was not greater than " + limit + ". Was: " + value ) ; }
Validates that the value is greater than a limit.

This method ensures that <code>value > limit</code>.

@param identifier The name of the object.
@param limit      The limit that the value must exceed.
@param value      The value to be tested.

@throws PostConditionException if the condition is not met.