All exception classes that extend the RuntimeException class are said to be unchecked exceptions. This means the compiler doesn't check the RuntimeExceptions. So if you want to create a checked exception then extend your class with Exception class.
Also, the Error class and subclasses of Error are also unchecked by compiler.
subject: How to classify an exception as checked or unchecked?