first commit
This commit is contained in:
23
hrmsEjb/org/apache/xerces/xni/XNIException.java
Normal file
23
hrmsEjb/org/apache/xerces/xni/XNIException.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package org.apache.xerces.xni;
|
||||
|
||||
public class XNIException extends RuntimeException {
|
||||
private Exception fException;
|
||||
|
||||
public XNIException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public XNIException(Exception exception) {
|
||||
super(exception.getMessage());
|
||||
this.fException = exception;
|
||||
}
|
||||
|
||||
public XNIException(String message, Exception exception) {
|
||||
super(message);
|
||||
this.fException = exception;
|
||||
}
|
||||
|
||||
public Exception getException() {
|
||||
return this.fException;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user