Subclassing Exception class for custom ID