Creating Attributes for Exception Classes
Use
You can use the attributes of an exception class to transport additional information about object reference errors to the handler.
Procedure
To create attributes for an exception class, proceed as described in Creating Attributes.