public void setErrorClass ( byte errorClass ) throws IllegalArgumentException { if ( errorClass < 0 || errorClass > 99 ) { throw new IllegalArgumentException ( errorClass + "Only error classes between 0 and 99 are valid. Current class: " + errorClass ) ; } this . errorClass = errorClass ; }
Sets the class of the error .