From charlesreid1

To raise assertions in Java, you can use the AssertionError class:

http://docs.oracle.com/javase/7/docs/api/java/lang/AssertionError.html

This is an Error class, not an exception, but is still throwable.