From 996f50449cf26b5a9226e335d6a035bd047738d5 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Fri, 7 Mar 2003 19:54:10 +0000 Subject: [PATCH] Use XMPPError class. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1845 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/XMPPException.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/org/jivesoftware/smack/XMPPException.java b/source/org/jivesoftware/smack/XMPPException.java index 2f41cf944..678ac2e86 100644 --- a/source/org/jivesoftware/smack/XMPPException.java +++ b/source/org/jivesoftware/smack/XMPPException.java @@ -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; }