RuntimeException vs AssertionError
807603Oct 21 2007 — edited Oct 23 2007I am wondering when a program should throw a RuntimeException and when an AssertionError. It seems both are used to indicate programming errors. So, when should one choose to throw an AssertionError over a RuntimeException?