publicclass Test4343723 { publicstaticvoid main(String[] args) { try { // The TestBean class has a protected constructor and will // throw an exception as a result of Class.newInstance()
Beans.instantiate(Test4343723.class.getClassLoader(), "Test4343723");
} catch (ClassNotFoundException exception) { if (null == exception.getCause()) thrownew Error("unexpected exception", exception);
} catch (IOException exception) { thrownew Error("unexpected exception", exception);
}
}
// protected constructor means Beans.instantiate() will fail protected Test4343723() {
}
}
Messung V0.5 in Prozent
[zur Elbe Produktseite wechseln0.15QuellennavigatorsAnalyse erneut starten2026-09-29]