public class RuntimeExceptionWrapper extends Object
Constructor and Description |
---|
RuntimeExceptionWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
wrapRuntimeException(RuntimeException exn)
Map an unexpected exception to one that can be correctly reported as a
problem.
|
public void wrapRuntimeException(RuntimeException exn) throws GeneralFailureException
exn
- The runtime exception being trapped.GeneralFailureException
- The known exception type that it is mapped to.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.