1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

Use XMPPError class.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1845 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-03-07 19:54:10 +00:00 committed by mtucker
parent 6fce8ec9f0
commit 996f50449c

View file

@ -52,6 +52,8 @@
package org.jivesoftware.smack;
import org.jivesoftware.smack.packet.XMPPError;
import java.io.PrintStream;
import java.io.PrintWriter;
@ -63,7 +65,7 @@ import java.io.PrintWriter;
*/
public class XMPPException extends Exception {
private Error error = null;
private XMPPError error = null;
private Throwable cause = null;
public XMPPException() {
@ -79,7 +81,7 @@ public class XMPPException extends Exception {
this.cause = cause;
}
public XMPPException(Error error) {
public XMPPException(XMPPError error) {
super();
this.error = error;
}
@ -89,7 +91,7 @@ public class XMPPException extends Exception {
this.cause = cause;
}
public XMPPException(String message, Error error) {
public XMPPException(String message, XMPPError error) {
super(message);
this.error = error;
}