Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.util.xml
Class XMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.java.sip.communicator.util.xml.XMLException
All Implemented Interfaces:
Serializable

public class XMLException
extends Exception

The class is used to mask any XML specific exceptions thrown during parsing various descriptors.

Version:
1.0
Author:
Emil Ivov
See Also:
Serialized Form

Constructor Summary
XMLException(String message)
          Constructs a new XMLException with the specified detail message.
XMLException(String message, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLException

public XMLException(String message,
                    Throwable cause)
Constructs a new XMLException with the specified detail message and cause.

Parameters:
message - a message specifying the reason that caused the exception.
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

XMLException

public XMLException(String message)
Constructs a new XMLException with the specified detail message.

Parameters:
message - a message specifying the reason that caused the exception.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.