E
- the type of the wrapping Exception
.public interface ExceptionWrapper<E extends java.lang.Exception>
E
.Modifier and Type | Method and Description |
---|---|
E |
wrap(java.lang.Exception ex)
Wrap ex as the cause within a new instance of
E . |
E wrap(java.lang.Exception ex)
E
.ex
- the Exception
to wrap.