Warning: session_start(): open(/var/lib/php/sessions/sess_rui1nchpoib6hqsqegh9dckmoe, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static O nuObjectWithoutArguments(S className) ctex {
ret nuObjectWithoutArguments(Class.forName(className));
}
static A nuObjectWithoutArguments(Class c) ctex {
Constructor m = nuObjectWithoutArguments_findConstructor(c);
m.setAccessible(true);
return (A) m.newInstance();
}
static Constructor nuObjectWithoutArguments_findConstructor(Class c) {
for (Constructor m : c.getDeclaredConstructors())
if (empty(m.getParameterTypes())) ret m;
fail("No default constructor found in " + c.getName());
}