question: public void handleException ( Exception e , int option ) { if ( ! getOptionIsSupported ( option ) ) { String message = e . getMessage ( ) ; if ( message != null && ( message . equals ( osDoesNotSupportOperationString ) || message . equals ( osDoesNotSupportOptionString ) || message . equals ( osDoesNotSupportOptionArgumentString ) ) ) { } else { fail ( "Threw \"" + e + "\" instead of correct exception for unsupported socket option: " + getSocketOptionString ( option ) ) ; } } else { fail ( "Exception during test : " + e . getMessage ( ) ) ; } }
target:  If the exception is "socket does not support the operation" exception and it is expected on the current platform, do nothing. Otherwise, fail the test.