opendap/src/main/java/opendap/servers/parsers/Celex.java
public void yyerror(String s)
    {
        Ceparse.log.error("yyerror: constraint parse error:" + s + "; char " + charno);
        if(yytext.length() > 0)
            Ceparse.log.error(" near |" + yytext + "|");
        // Add extra info
        if(parsestate.getURL() != null) Ceparse.log.error("\turl=" + parsestate.getURL());
        Ceparse.log.error("\tconstraint=" + (constraint == null ? "none" : constraint));
    }
public void yyerror(String s)
    {
        Ceparse.log.error("yyerror: constraint parse error:" + s + "; char " + charno);
        if(yytext.length() > 0)
            Ceparse.log.error(" near |" + yytext + "|");
        // Add extra info
        if(parsestate.getURL() != null) Ceparse.log.error("\turl=" + parsestate.getURL());
        Ceparse.log.error("\tconstraint=" + (constraint == null ? "none" : constraint));
    }
public void yyerror ( String s ) { Ceparse . log . error ( "yyerror: constraint parse error:" + s + "; char " + charno ) ; if ( yytext . length ( ) > 0 ) Ceparse . log . error ( " near |" + yytext + "|" ) ; // Add extra info if ( parsestate . getURL ( ) != null ) Ceparse . log . error ( "\turl=" + parsestate . getURL ( ) ) ; Ceparse . log . error ( "\tconstraint=" + ( constraint == null ? "none" : constraint ) ) ; }
Entry point for error reporting.  Emits an error
in a user-defined way.

@param s The string for the error message.
Entry point for error reporting . Emits an error in a user - defined way .