|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.grs.record.exception.GRS2ThrowableWrapper
public class GRS2ThrowableWrapper
| Constructor Summary | |
|---|---|
GRS2ThrowableWrapper()
|
|
| Method Summary | |
|---|---|
static Throwable |
convertToException(Class<?> exClass,
Throwable th)
Converts a throwable in a specific class type exClass. |
static Throwable |
convertToGenaralException(Throwable th)
Converts a throwable in GRS2Exception.class |
static Throwable |
createFromGRS2ThrowableWrapper(GRS2ThrowableWrapper tw,
Class<?> genericException)
Creates a Throwable from a GRS2ThrowableWrapper. |
static GRS2ThrowableWrapper |
createFromThrowable(Throwable th)
Creates a GRS2ThrowableWrapper from a Throwable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GRS2ThrowableWrapper()
| Method Detail |
|---|
public static Throwable convertToGenaralException(Throwable th)
throws GRS2ThrowableWrapperException
GRS2Exception.class
th -
GRS2ThrowableWrapperException
public static Throwable convertToException(Class<?> exClass,
Throwable th)
throws GRS2ThrowableWrapperException
exClass - th -
GRS2ThrowableWrapperException
public static GRS2ThrowableWrapper createFromThrowable(Throwable th)
throws GRS2ThrowableWrapperException
th -
GRS2ThrowableWrapperException
public static Throwable createFromGRS2ThrowableWrapper(GRS2ThrowableWrapper tw,
Class<?> genericException)
throws GRS2ThrowableWrapperException
tw - genericException -
GRS2ThrowableWrapperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||