Fixed UndeclaredThrowableException