There is now a fully functional implementation of the Error Reporting System (ers) in Java language. Javadoc along with usage examples can be found here.
Full documentation for the java ers package can be found at this
page
Documentation for the ers.log4j package can be found at this
page