org.n52.oxf
Class OXFThrowableCollection
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.n52.oxf.OXFException
org.n52.oxf.OXFThrowableCollection
- All Implemented Interfaces:
- Serializable
public class OXFThrowableCollection
- extends OXFException
This class can be used to collect several occuring Throwables(/Exceptions). After collecting the throwable,
you may use the overriden printStackTrace
-methods to print a cumulated stack trace of all
ocuured exceptions/throwables.
- Author:
- Arne Broering
- See Also:
- Serialized Form
OXFThrowableCollection
public OXFThrowableCollection()
OXFThrowableCollection
public OXFThrowableCollection(String reason)
addThrowable
public void addThrowable(Throwable throwable)
- Parameters:
exception
-
isEmpty
public boolean isEmpty()
- Returns:
getThrowablesIterator
public Iterator<Throwable> getThrowablesIterator()
- Returns:
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2012-2013 52north.org. All Rights Reserved.