public class ExceptionAdapter extends RuntimeException
Constructor and Description |
---|
ExceptionAdapter(Exception e)
Create a new ExceptionAdapter.
|
ExceptionAdapter(String message,
Exception e) |
Modifier and Type | Method and Description |
---|---|
void |
printStackTrace()
Prints stack trace.
|
void |
printStackTrace(PrintStream s)
Prints stack trace.
|
void |
printStackTrace(PrintWriter s)
Prints stack trace.
|
void |
rethrow()
Rethrows the original exception class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public ExceptionAdapter(Exception e)
e
- exceptionpublic void printStackTrace()
printStackTrace
in class Throwable
Throwable.printStackTrace()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- print streamThrowable.printStackTrace(java.io.PrintStream)
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
s
- print writerThrowable.printStackTrace(java.io.PrintWriter)
Copyright © 2021 JBoss by Red Hat. All rights reserved.