/** * Create a new SAXPathException with the specified detail message * and root cause. * * @param message the detail message * @param cause the cause of this exception */ public SAXPathException(String message, Throwable cause) { super( message ); initCause(cause); }
/** Create a new SAXPathException based on another exception * * @param cause the error source */ public SAXPathException(Throwable cause) { super ( cause.getMessage() ); initCause(cause); }