Changed base class from Throwable to Exception.