1 64 65 package com.jcorporate.expresso.core.logging; 66 67 72 73 import com.jcorporate.expresso.kernel.exception.ChainedException; 74 75 76 81 public class LogException 82 extends ChainedException { 83 private String objectName = null; 84 private String msg = null; 85 86 89 public LogException() { 90 super(); 91 } 92 93 98 public LogException(String s) { 99 super(s); 100 } 101 102 109 public LogException(String s, String newObjectName, String newMsg) { 110 super(s); 111 objectName = newObjectName; 112 msg = newMsg; 113 } 114 115 121 public LogException(String s, Throwable t) { 122 super(s, t); 123 } 124 125 130 public LogException(Throwable t) { 131 super(t); 132 } 133 134 139 public String getLogMsg() { 140 return msg; 141 } 142 143 146 public String getObjectName() { 147 return objectName; 148 } 149 150 } 151 152 | Popular Tags |