1 16 17 package org.apache.xerces.xni; 18 19 33 public class XNIException 34 extends RuntimeException { 35 36 37 static final long serialVersionUID = 9019819772686063775L; 38 39 43 44 private Exception fException; 45 46 50 55 public XNIException(String message) { 56 super(message); 57 } 59 64 public XNIException(Exception exception) { 65 super(exception.getMessage()); 66 fException = exception; 67 } 69 75 public XNIException(String message, Exception exception) { 76 super(message); 77 fException = exception; 78 } 80 84 85 public Exception getException() { 86 return fException; 87 } 89 } | Popular Tags |