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, toStringpublic ExceptionAdapter(Exception e)
e - exceptionpublic void printStackTrace()
printStackTrace in class ThrowableThrowable.printStackTrace()public void printStackTrace(PrintStream s)
printStackTrace in class Throwables - print streamThrowable.printStackTrace(java.io.PrintStream)public void printStackTrace(PrintWriter s)
printStackTrace in class Throwables - print writerThrowable.printStackTrace(java.io.PrintWriter)Copyright © 2021 JBoss by Red Hat. All rights reserved.