1 17 18 19 package org.apache.commons.digester.xmlrules; 20 21 22 27 public class XmlLoadException extends RuntimeException { 28 29 private Throwable cause = null; 30 31 34 public XmlLoadException(Throwable cause) { 35 this(cause.getMessage()); 36 this.cause = cause; 37 } 38 39 public XmlLoadException(String msg) { 40 super(msg); 41 } 42 43 public XmlLoadException(String msg, Throwable cause) { 44 this(msg); 45 this.cause = cause; 46 } 47 48 52 public Throwable getCause() { 53 return cause; 54 } 55 } 56 | Popular Tags |