private ApplicationException getApplicationException ( Class < ? > klass ) // F743-14982 { ApplicationException result = null ; if ( ivApplicationExceptionMap != null ) { result = ivApplicationExceptionMap . get ( klass . getName ( ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) && result != null ) { Tr . debug ( tc , "found application-exception for " + klass . getName ( ) + ", rollback=" + result . rollback ( ) + ", inherited=" + result . inherited ( ) ) ; } } if ( result == null ) { result = klass . getAnnotation ( ApplicationException . class ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) && result != null ) { Tr . debug ( tc , "found ApplicationException for " + klass . getName ( ) + ", rollback=" + result . rollback ( ) + ", inherited=" + result . inherited ( ) ) ; } } return result ; }
Gets the application exception status of the specified exception class from either the deployment descriptor or from the annotation .