1 package org.apache.ojb.broker; 2 3 17 18 19 25 public class OptimisticLockException extends PersistenceBrokerException 26 { 27 28 private Object sourceObject; 29 30 33 public OptimisticLockException() 34 { 35 super(); 36 } 37 38 43 public OptimisticLockException(String msg) 44 { 45 super(msg); 46 } 47 48 54 public OptimisticLockException(String msg, Object source) 55 { 56 super(msg); 57 sourceObject = source; 58 } 59 60 65 public OptimisticLockException(Throwable cause) 66 { 67 super(cause); 68 } 69 70 75 public Object getSourceObject() 76 { 77 return sourceObject; 78 } 79 80 85 public void setSourceObject(Object sourceObject) 86 { 87 this.sourceObject = sourceObject; 88 } 89 90 } 91 | Popular Tags |