Why does creating a subclass of some Exception, throws this error? - Java Community | Help. Code. Learn.