Assertion: unchecked exception | /r/HasProperty | runtimeexception
Facets:
Source sentences:
text: Because the Java programming language does not require methods to catch or to specify unchecked exceptions ( RuntimeException , Error , and their subclasses), programmers may be tempted to write code that throws only unchecked exceptions or to make all their exception subclasses inherit from RuntimeException .