1 20 21 package fr.dyade.aaa.agent; 22 23 29 public class ExceptionNotification extends Notification { 30 31 static final long serialVersionUID = -78084906213588139L; 32 33 34 public AgentId agent; 35 36 public Notification not; 37 38 public Exception exc; 39 40 47 public ExceptionNotification(AgentId agent, 48 Notification not, 49 Exception exc) { 50 this.agent = agent; 51 this.not = not; 52 this.exc = exc; 53 } 54 55 63 public StringBuffer toString(StringBuffer output) { 64 output.append('('); 65 super.toString(output); 66 output.append(",agent=").append(agent); 67 output.append(",not=").append(not); 68 output.append(",exc=").append(exc); 69 output.append(')'); 70 71 return output; 72 } 73 } 74 | Popular Tags |