|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.melati.poem.dbms.test.sql.Thrower
public abstract class Thrower
A class which can throw on demand.
| Constructor Summary | |
|---|---|
protected |
Thrower()
|
| Method Summary | |
|---|---|
static boolean |
shouldThrow(java.lang.Class i,
java.lang.String methodName)
Check whether method should throw, called once for every method invocation. |
static void |
startThrowing(java.lang.Class i,
java.lang.String methodName)
Tell named method to start throwing exceptions. |
static void |
startThrowingAfter(java.lang.Class i,
java.lang.String methodName,
int goes)
Tell named method to start throwing exceptions. |
static void |
stopThrowing(java.lang.Class i,
java.lang.String methodName)
Tell named method to stop throwing exceptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Thrower()
| Method Detail |
|---|
public static void startThrowing(java.lang.Class i,
java.lang.String methodName)
i - Interface class objectmethodName - name in class.methodName format
public static void startThrowingAfter(java.lang.Class i,
java.lang.String methodName,
int goes)
i - Interface class objectmethodName - name in class.methodName format
public static void stopThrowing(java.lang.Class i,
java.lang.String methodName)
i - Interface class objectmethodName - name in class.methodName format
public static boolean shouldThrow(java.lang.Class i,
java.lang.String methodName)
i - Interface class objectmethodName - name in class.methodName format
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||