add an Throwable type to handle multiple exception situations