public class WrappedException extends RuntimeException
wrap()
methods.Modifier and Type | Method and Description |
---|---|
Exception |
exception() |
static Exception |
unwrap(Exception exception) |
static RuntimeException |
wrap(Exception exception) |
static RuntimeException |
wrap(Exception exception,
String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Exception exception()
public static RuntimeException wrap(Exception exception, String message)
public static RuntimeException wrap(Exception exception)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.