1 28 29 package com.caucho.xsl; 30 31 import com.caucho.util.ExceptionWrapper; 32 33 import javax.xml.transform.SourceLocator ; 34 import javax.xml.transform.TransformerException ; 35 36 39 public class TransformerExceptionWrapper extends TransformerException 40 implements ExceptionWrapper { 41 42 45 public TransformerExceptionWrapper() 46 { 47 super(""); 48 } 49 50 53 public TransformerExceptionWrapper(String msg) 54 { 55 super(msg); 56 } 57 58 61 public TransformerExceptionWrapper(String msg, SourceLocator locator) 62 { 63 super(msg, locator); 64 } 65 66 69 public TransformerExceptionWrapper(String msg, SourceLocator locator, 70 Throwable e) 71 { 72 super(msg, locator, e); 73 } 74 75 78 public TransformerExceptionWrapper(String msg, Throwable e) 79 { 80 super(msg, e); 81 } 82 83 86 public TransformerExceptionWrapper(Throwable e) 87 { 88 super(String.valueOf(e), e); 89 } 90 91 94 public Throwable getRootCause() 95 { 96 return getCause(); 97 } 98 } 99 | Popular Tags |