|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ASTRollbackStatement.java | - | 0% | 0% | 0% |
|
1 |
/* JJT: 0.2.2 */
|
|
2 |
|
|
3 |
package mobisnap.mobile_trx;
|
|
4 |
|
|
5 |
|
|
6 |
/**
|
|
7 |
* Implements ROLLBACK statement
|
|
8 |
*/
|
|
9 |
public class ASTRollbackStatement extends mobisnap.mobile_trx.SimpleNode { |
|
10 | 0 |
public ASTRollbackStatement(int id) { |
11 | 0 |
super(id);
|
12 |
} |
|
13 |
|
|
14 | 0 |
public ASTRollbackStatement( MobisnapSQL p, int i) { |
15 | 0 |
super( p, i);
|
16 | 0 |
id = i; |
17 |
} |
|
18 |
|
|
19 | 0 |
public void process( int msql_type) throws Exception { |
20 | 0 |
MobisnapSQL.transaction.rollback(); |
21 | 0 |
throw new RollbackException(); |
22 |
} |
|
23 |
|
|
24 |
/** Accept the visitor. **/
|
|
25 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
26 | 0 |
return visitor.visit(this, data); |
27 |
} |
|
28 |
|
|
29 |
} |
|
30 |
|
|