We're updating the issue view to help you get more done. 

JTATransactionFactory.isTransactionInProgress() hides NamingException

Description

This code:

try {
ut = ( UserTransaction ) context.lookup( utName );
}
catch ( NamingException e ) {
throw new TransactionException( "Unable to locate UserTransaction to check status" );
}

Should be:

try {
ut = ( UserTransaction ) context.lookup( utName );
}
catch ( NamingException e ) {
throw new TransactionException( "Unable to locate UserTransaction to check status" , e);
}

Environment

None

Status

Assignee

GavinG

Reporter

GavinG

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major