Make unresolved exception class inherit from Throwable.