public void setPriority ( FaxJobPriority priority ) { try { if ( priority == FaxJobPriority . HIGH_PRIORITY ) { this . JOB . setPriority ( Job . PRIORITY_HIGH ) ; } else { this . JOB . setPriority ( Job . PRIORITY_NORMAL ) ; } } catch ( Exception exception ) { throw new FaxException ( "Error while setting job priority." , exception ) ; } }
This function sets the priority .