Z
- Throwable typepublic interface ExceptionChainer<Z extends java.lang.Throwable>
ExceptionChainer<SomeException> chainer = new ExceptionChainer<SomeException>() { public SomeException chain(Throwable t) { if (t instanceof SomeException) return (SomeException) t; else return new SomeExcepion(t); } };
Z chain(java.lang.Throwable t)