uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.4.4 @ApplicationExceptionn

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

Specify in an exception class that is considered as an application exception.

(2) Attribute

The following table lists the @ApplicationException properties:

Attribute name Functionality
rollback Specify whether the container performs the roll back of transaction when an exception occurs.
inherited To decide whether this attribute is considered as an application exception, specify whether the definition set in the class is also applied in the subclass.

Details of each attribute are as follows.

(a) rollback attribute

Type
boolean

Description
Specify whether the container performs the roll back of transaction when an exception occurs.

Default value
false
(b) inherited attribute

Type
boolean

Description
To decide whether this attribute is considered as an application exception, specify whether the definition set in the class is also applied to the subclass.

Default value
true