1 23 package com.scalagent.kjoram.excepts; 24 25 26 public class JMSException extends Exception { 27 private String errorCode; 28 private Exception linkedException; 29 30 33 public JMSException(String info) { 34 super(info); 35 } 36 37 public String getErrorCode() { 38 return this.errorCode; 39 } 40 41 public Exception getLinkedException() { 42 return (linkedException); 43 } 44 45 public synchronized void setLinkedException(Exception exc) { 46 linkedException = exc; 47 } 48 } 49 | Popular Tags |