Yup, via
if(1==1) throw new UnsupportedOperationException("Not yet implemented");