private boolean isValidJoinMessage ( JoinMessage joinMessage ) { try { return validateJoinMessage ( joinMessage ) ; } catch ( ConfigMismatchException e ) { throw e ; } catch ( Exception e ) { return false ; } }
rethrows only on ConfigMismatchException ; in case of other exception returns false .