|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.core.util.ThrowHelper
public class ThrowHelper
Help functionality when throwing exceptions.
| Constructor Summary | |
|---|---|
ThrowHelper()
|
|
| Method Summary | ||
|---|---|---|
static
|
withInitCause(java.lang.Exception cause,
T effect)
Set the cause of an exception. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowHelper()
| Method Detail |
|---|
public static <T extends java.lang.Exception> T withInitCause(java.lang.Exception cause,
T effect)
T - the exception type.cause - the cause.effect - the effect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||