File: OracleXAException.java

package info (click to toggle)
libbtm-java 2.1.4-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 8,588 kB
  • sloc: java: 17,848; xml: 158; makefile: 17; sh: 10
file content (22 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package oracle.jdbc.xa;

import javax.transaction.xa.XAException;

public class OracleXAException extends XAException {
    
    private int oracleError;

    public OracleXAException(String msg, int oracleError) {
        super(msg);
        this.oracleError = oracleError;
    }

    public OracleXAException(int oracleError) {
        this.oracleError = oracleError;
    }

    public int getOracleError() {
        return oracleError;
    }

}