Show TOC

 Creating Attributes for Exception ClassesLocate this document in the navigation structure

Use

You can use the attributes of an exception class to transport additional information about object reference errors to the handler.

Tip

You can also use attributes in exception texts to describe the errors precisely. For more information, see Creating Texts for Exception Classes .

Procedure

To create attributes for an exception class, proceed as described in Creating Attributes .

Tip

Make sure that the users cannot change these attributes by setting the Read-only indicator when defining the attribute.