1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 import org.jboss.logging.Logger; 27 28 34 public class ApplicationException 35 { 36 private static final Logger log = Logger.getLogger(ApplicationException.class); 37 38 private String clazz; 39 private boolean rollback; 40 41 public String getExceptionClass() 42 { 43 return clazz; 44 } 45 46 public void setExceptionClass(String clazz) 47 { 48 this.clazz = clazz; 49 } 50 51 public boolean getRollback() 52 { 53 return rollback; 54 } 55 56 public void setRollback(boolean rollback) 57 { 58 this.rollback = rollback; 59 } 60 61 public String toString() 62 { 63 StringBuffer sb = new StringBuffer (100); 64 sb.append("["); 65 sb.append("class=").append(clazz); 66 sb.append(", rollback=").append(rollback); 67 sb.append("]"); 68 return sb.toString(); 69 } 70 } 71 | Popular Tags |