Updated usage of the Assertion Error to the java 6 (instead of java 7)