1 23 24 package com.sun.enterprise.deployment; 25 26 import java.util.logging.*; 27 import com.sun.logging.*; 28 29 import com.sun.enterprise.deployment.MethodDescriptor; 30 import com.sun.enterprise.util.LocalStringManagerImpl; 31 import com.sun.enterprise.deployment.util.LogDomains; 32 33 36 37 public class EjbApplicationExceptionInfo 38 { 39 private static LocalStringManagerImpl localStrings = 40 new LocalStringManagerImpl(EjbApplicationExceptionInfo.class); 41 42 static Logger _logger = LogDomains.getLogger(LogDomains.DPL_LOGGER); 43 44 private String exceptionClassName; 45 private boolean rollback; 46 47 public void setExceptionClassName(String className) { 48 exceptionClassName = className; 49 } 50 51 public String getExceptionClassName() { 52 return exceptionClassName; 53 } 54 55 public boolean getRollback() { 56 return rollback; 57 } 58 59 public void setRollback(boolean flag) { 60 rollback = flag; 61 } 62 63 public String toString() { 64 StringBuffer sb = new StringBuffer (); 65 sb.append("exception class name = " + exceptionClassName + "\t"); 66 sb.append("rollback = " + rollback); 67 return sb.toString(); 68 } 69 } 70 71 | Popular Tags |