opendap/src/main/java/opendap/servers/Operator.java
private static String opErrorMsg(int oprtr, String lop, String rop) {
        switch (oprtr) {
            case LESS:
                return ("Less Than (<) Operator not valid between types" + lop + "and" + rop + ".");
            case LESS_EQL:
                return ("Less Than Equal To (<=) Operator not valid between types" + lop + "and" + rop + ".");
            case GREATER:
                return ("Greater Than (>) Operator not valid between types" + lop + "and" + rop + ".");
            case GREATER_EQL:
                return ("Greater Than Equal To (>=) Operator not valid between types" + lop + "and" + rop + ".");
            case EQUAL:
                return ("Equal To (==) Operator not valid between types" + lop + "and" + rop + ".");
            case NOT_EQUAL:
                return ("Not Equal To (!=) Operator not valid between types" + lop + "and" + rop + ".");
            case REGEXP:
                return ("Regular Expression cannot beevaluated between types" + lop + "and" + rop + ".");
            default:
                return ("Unknown Operator Requested! RTFM!");
        }
    }
private static String opErrorMsg(int oprtr, String lop, String rop) {
        switch (oprtr) {
            case LESS:
                return ("Less Than (<) Operator not valid between types" + lop + "and" + rop + ".");
            case LESS_EQL:
                return ("Less Than Equal To (<=) Operator not valid between types" + lop + "and" + rop + ".");
            case GREATER:
                return ("Greater Than (>) Operator not valid between types" + lop + "and" + rop + ".");
            case GREATER_EQL:
                return ("Greater Than Equal To (>=) Operator not valid between types" + lop + "and" + rop + ".");
            case EQUAL:
                return ("Equal To (==) Operator not valid between types" + lop + "and" + rop + ".");
            case NOT_EQUAL:
                return ("Not Equal To (!=) Operator not valid between types" + lop + "and" + rop + ".");
            case REGEXP:
                return ("Regular Expression cannot beevaluated between types" + lop + "and" + rop + ".");
            default:
                return ("Unknown Operator Requested! RTFM!");
        }
    }
private static String opErrorMsg ( int oprtr , String lop , String rop ) { switch ( oprtr ) { case LESS : return ( "Less Than (<) Operator not valid between types" + lop + "and" + rop + "." ) ; case LESS_EQL : return ( "Less Than Equal To (<=) Operator not valid between types" + lop + "and" + rop + "." ) ; case GREATER : return ( "Greater Than (>) Operator not valid between types" + lop + "and" + rop + "." ) ; case GREATER_EQL : return ( "Greater Than Equal To (>=) Operator not valid between types" + lop + "and" + rop + "." ) ; case EQUAL : return ( "Equal To (==) Operator not valid between types" + lop + "and" + rop + "." ) ; case NOT_EQUAL : return ( "Not Equal To (!=) Operator not valid between types" + lop + "and" + rop + "." ) ; case REGEXP : return ( "Regular Expression cannot beevaluated between types" + lop + "and" + rop + "." ) ; default : return ( "Unknown Operator Requested! RTFM!" ) ; } }
******************************************************************************************
******************************************************************************************