1 package org.apache.ojb.odmg; 2 3 17 18 import org.odmg.TransactionAbortedException; 19 20 34 public class TransactionAbortedExceptionOJB extends TransactionAbortedException 35 { 36 39 private Throwable cause; 40 41 public TransactionAbortedExceptionOJB() 42 { 43 super(); 44 } 45 46 public TransactionAbortedExceptionOJB(String msg) 47 { 48 super(msg); 49 } 50 51 public TransactionAbortedExceptionOJB(String msg, Throwable th) 52 { 53 super(msg); 54 this.cause = th; 55 } 56 57 public TransactionAbortedExceptionOJB(Throwable cause) 58 { 59 this.cause = cause; 60 } 61 62 65 public Throwable getCause() 66 { 67 return cause; 68 } 69 } 70 | Popular Tags |