1 57 58 package com.sun.org.apache.xerces.internal.xni; 59 60 74 public class XNIException 75 extends RuntimeException { 76 77 81 82 private Exception fException; 83 84 88 93 public XNIException(String message) { 94 super(message); 95 } 97 102 public XNIException(Exception exception) { 103 super(exception.getMessage()); 104 fException = exception; 105 } 107 113 public XNIException(String message, Exception exception) { 114 super(message); 115 fException = exception; 116 } 118 122 123 public Exception getException() { 124 return fException; 125 } 127 } | Popular Tags |