1 10 11 package org.mule.config; 12 13 import java.util.HashMap ; 14 import java.util.Map ; 15 16 23 public final class DefaultExceptionReader implements ExceptionReader 24 { 25 26 private Map info = new HashMap (); 27 28 public String getMessage(Throwable t) 29 { 30 return t.getMessage(); 31 } 32 33 public Throwable getCause(Throwable t) 34 { 35 return t.getCause(); 36 } 37 38 public Class getExceptionType() 39 { 40 return Throwable .class; 41 } 42 43 48 public Map getInfo(Throwable t) 49 { 50 return info; 51 } 52 } 53 | Popular Tags |