public void setValue ( boolean val ) { try { super . setValue ( Boolean . valueOf ( val ) ) ; } catch ( ParameterException e ) { // We're pretty sure that any Boolean is okay, so this should never be // reached. throw new AbortException ( "Flag did not accept boolean value!" , e ) ; } }
Convenience function using a native boolean that doesn t require error handling .