Hilbert II - Version 0.03.08

org.qedeq.kernel.xml.parser
Class DefaultSourceFileExceptionList

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

public class DefaultSourceFileExceptionList
extends SourceFileExceptionList

Type save SourceFileException list. TODO mime 20080109: shouldn't this list have some informations about the source being parsed?

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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DefaultSourceFileExceptionList()
          Constructor.
DefaultSourceFileExceptionList(Exception e)
          Constructor.
DefaultSourceFileExceptionList(IOException e)
          Constructor.
DefaultSourceFileExceptionList(RuntimeException e)
          Constructor.
DefaultSourceFileExceptionList(SAXException e)
          Constructor.
DefaultSourceFileExceptionList(SourceFileException e)
          Constructor.
DefaultSourceFileExceptionList(Throwable e)
          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(SourceFileException e)
          Add exception.
 void add(XmlSyntaxException e)
          Add exception.
 SourceFileException get(int i)
          Get i-th exception.
 String getMessage()
           
 int size()
          Get number of collected exceptions.
 SourceFileException[] toArray()
          Get all exceptions.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList()
Constructor.


DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(IOException e)
Constructor.

Parameters:
e - Wrap me.

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(SAXException e)
Constructor.

Parameters:
e - Wrap me.

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(RuntimeException e)
Constructor.

Parameters:
e - Wrap me.

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(Throwable e)
Constructor.

Parameters:
e - Wrap me.

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(Exception e)
Constructor.

Parameters:
e - Wrap me.

DefaultSourceFileExceptionList

public DefaultSourceFileExceptionList(SourceFileException e)
Constructor.

Parameters:
e - Wrap me.
Method Detail

add

public void add(SourceFileException e)
Add exception.

Parameters:
e - Exception to add.

add

public final void add(XmlSyntaxException 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 SourceFileExceptionList
Returns:
Number of collected exceptions.

get

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

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

toArray

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

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

getMessage

public String getMessage()

Hilbert II - Version 0.03.08

©left GNU General Public Licence
All Rights Reserved.