use of com.arjuna.ats.jta.exceptions.NotImplementedException in project narayana by jbosstm.
the class ExceptionsUnitTest method test.
@Test
public void test() throws Exception {
InactiveTransactionException ex = new InactiveTransactionException();
ex = new InactiveTransactionException("foobar");
NotImplementedException exp = new NotImplementedException();
exp = new NotImplementedException("foobar");
exp = new NotImplementedException("foobar", new NullPointerException());
exp = new NotImplementedException(new NullPointerException());
RollbackException exp2 = new RollbackException();
exp2 = new RollbackException("foobar");
exp2 = new RollbackException("foobar", new NullPointerException());
exp2 = new RollbackException(new NullPointerException());
UnexpectedConditionException ex2 = new UnexpectedConditionException();
ex2 = new UnexpectedConditionException("foobar");
}
Aggregations