Hilbert II - Version 0.03.04

org.qedeq.kernel.xml.parser
Class DefaultXmlFileExceptionList

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.qedeq.kernel.common.XmlFileExceptionList
              extended byorg.qedeq.kernel.xml.parser.DefaultXmlFileExceptionList
All Implemented Interfaces:
Serializable

public class DefaultXmlFileExceptionList
extends XmlFileExceptionList

Type save XmlFileException list.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DefaultXmlFileExceptionList()
          Constructor.
DefaultXmlFileExceptionList(IOException e)
          Constructor.
DefaultXmlFileExceptionList(RuntimeException e)
          Constructor.
DefaultXmlFileExceptionList(SyntaxExceptionList exceptionList)
          Constructor.
 
Method Summary
 void add(IOException e)
          Add exception.
 void add(ParserConfigurationException e)
          Add exception.
 void add(RuntimeException e)
          Add exception.
 void add(SAXException e)
          Add exception.
 void add(SyntaxException e)
          Add exception.
 void add(XmlFileException e)
          Add exception.
 XmlFileException get(int i)
          Get i-th exception.
 int size()
          Get number of collected exceptions.
 XmlFileException[] toArray()
          Get all exceptions.
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultXmlFileExceptionList

public DefaultXmlFileExceptionList()
Constructor.


DefaultXmlFileExceptionList

public DefaultXmlFileExceptionList(IOException e)
Constructor.

Parameters:
e - Wrap me.

DefaultXmlFileExceptionList

public DefaultXmlFileExceptionList(RuntimeException e)
Constructor.

Parameters:
e - Wrap me.

DefaultXmlFileExceptionList

public DefaultXmlFileExceptionList(SyntaxExceptionList exceptionList)
Constructor.

Parameters:
exceptionList - Syntax exceptions that are wrapped into XmlFileException.
Method Detail

add

public void add(XmlFileException e)
Add exception.

Parameters:
e - Exception to add.

add

public final void add(SyntaxException e)
Add exception.

Parameters:
e - Exception to add.

add

public final void add(SAXException e)
Add exception.

Parameters:
e - Exception to add.

add

public final void add(IOException e)
Add exception.

Parameters:
e - Exception to add.

add

public void add(ParserConfigurationException e)
Add exception.

Parameters:
e - Exception to add.

add

public void add(RuntimeException e)
Add exception.

Parameters:
e - Exception to add.

size

public final int size()
Get number of collected exceptions.

Specified by:
size in class XmlFileExceptionList
Returns:
Number of collected exceptions.

get

public final XmlFileException get(int i)
Get i-th exception.

Specified by:
get in class XmlFileExceptionList
Parameters:
i - Starts with 0 and must be smaller than size().
Returns:
Wanted exception.

toArray

public final XmlFileException[] toArray()
Get all exceptions.

Specified by:
toArray in class XmlFileExceptionList
Returns:
All exceptions.

toString

public String toString()

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.