org.apache.karaf.shell.console
Class MultiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.karaf.shell.console.MultiException
- All Implemented Interfaces:
- Serializable
public class MultiException
- extends Exception
- See Also:
- Serialized Form
MultiException
public MultiException(String message)
MultiException
public MultiException(String message,
List<Exception> exceptions)
addException
public void addException(Exception e)
throwIfExceptions
public void throwIfExceptions()
throws MultiException
- Throws:
MultiException
getCauses
public Throwable[] getCauses()
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace in class Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
printStackTrace
public void printStackTrace(PrintWriter out)
- Overrides:
printStackTrace in class Throwable
throwIf
public static void throwIf(String message,
List<Exception> exceptions)
throws MultiException
- Throws:
MultiException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.