Package 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
@Deprecated public class MultiException extends Exception
Deprecated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiException(String message)Deprecated.MultiException(String message, List<Exception> exceptions)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddException(Exception e)Deprecated.Throwable[]getCauses()Deprecated.voidprintStackTrace()Deprecated.voidprintStackTrace(PrintStream out)Deprecated.voidprintStackTrace(PrintWriter out)Deprecated.static voidthrowIf(String message, List<Exception> exceptions)Deprecated.voidthrowIfExceptions()Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Method Detail
-
addException
public void addException(Exception e)
Deprecated.
-
throwIfExceptions
public void throwIfExceptions() throws MultiExceptionDeprecated.- Throws:
MultiException
-
getCauses
public Throwable[] getCauses()
Deprecated.
-
printStackTrace
public void printStackTrace()
Deprecated.- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintStream out)
Deprecated.- Overrides:
printStackTracein classThrowable- See Also:
Throwable.printStackTrace(java.io.PrintStream)
-
printStackTrace
public void printStackTrace(PrintWriter out)
Deprecated.- Overrides:
printStackTracein classThrowable
-
throwIf
public static void throwIf(String message, List<Exception> exceptions) throws MultiException
Deprecated.- Throws:
MultiException
-
-