- Revision
- 642
- Author
- mauro
- Date
- 2008-04-21 07:19:56 -0500 (Mon, 21 Apr 2008)
Log Message
Changed BindMonitor methods to use Exception instead of Throwable, as per other monitors.
Modified Paths
Diff
Modified: trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/AbstractWritingMonitor.java (641 => 642)
--- trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/AbstractWritingMonitor.java 2008-04-21 11:41:23 UTC (rev 641) +++ trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/AbstractWritingMonitor.java 2008-04-21 12:19:56 UTC (rev 642) @@ -230,8 +230,8 @@ write("actionMethodExecuted", actionMethodResponse); } - public void actionMethodExecutionFailed(Exception exception) { - write("actionMethodExecutionFailed", exception); + public void actionMethodExecutionFailed(Exception cause) { + write("actionMethodExecutionFailed", cause); } public void methodNameResolved(String methodName, String methodKey, Set<String> keys) { @@ -258,7 +258,7 @@ write("viewDispatched", view); } - public void attributeBindFailed(Object controller, Throwable cause){ + public void attributeBindFailed(Object controller, Exception cause){ write("attributeBindFailed", controller, cause); } @@ -266,7 +266,7 @@ write("attributeValueBoundFromController", name, value, controller); } - public void dataBindFailed(Object controller, BindErrorMessage errorMessage, Throwable cause){ + public void dataBindFailed(Object controller, BindErrorMessage errorMessage, Exception cause){ write("dataBindFailed", controller, errorMessage, cause); } @@ -331,7 +331,7 @@ } public void actionMethodInvocationFailed(Exception cause){ - write("actionMethodInvocationFailed", cause); + write("actionMethodInvocationFailed", cause); } public void servletInitialized(Servlet servlet) { @@ -339,7 +339,7 @@ } public void servletServiceFailed(Exception cause){ - write("servletServiceFailed", cause); + write("servletServiceFailed", cause); } public void servletServiceRequested(Map<String, List<String>> parameters){ @@ -355,7 +355,7 @@ } public void validationFailed(Exception cause) { - write("validationFailed", cause); + write("validationFailed", cause); } public void viewForwarded(String path) {
Modified: trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/BindMonitor.java (641 => 642)
--- trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/BindMonitor.java 2008-04-21 11:41:23 UTC (rev 641) +++ trunk/waffle-core/src/main/java/org/codehaus/waffle/monitor/BindMonitor.java 2008-04-21 12:19:56 UTC (rev 642) @@ -19,11 +19,11 @@ */ public interface BindMonitor extends Monitor { - void attributeBindFailed(Object controller, Throwable cause); + void attributeBindFailed(Object controller, Exception cause); void attributeValueBoundFromController(String name, Object value, Object controller); - void dataBindFailed(Object controller, BindErrorMessage errorMessage, Throwable cause); + void dataBindFailed(Object controller, BindErrorMessage errorMessage, Exception cause); void dataValueBoundToController(String name, Object value, Object controller);
Modified: trunk/waffle-core/src/test/java/org/codehaus/waffle/testmodel/StubMonitor.java (641 => 642)
--- trunk/waffle-core/src/test/java/org/codehaus/waffle/testmodel/StubMonitor.java 2008-04-21 11:41:23 UTC (rev 641) +++ trunk/waffle-core/src/test/java/org/codehaus/waffle/testmodel/StubMonitor.java 2008-04-21 12:19:56 UTC (rev 642) @@ -66,10 +66,10 @@ public void viewDispatched(View view) { } - public void dataBindFailed(Object controller, BindErrorMessage errorMessage, Throwable cause) { + public void dataBindFailed(Object controller, BindErrorMessage errorMessage, Exception cause) { } - public void attributeBindFailed(Object controller, Throwable cause) { + public void attributeBindFailed(Object controller, Exception cause) { } public void attributeValueBoundFromController(String name, Object value, Object controller) {
To unsubscribe from this list please visit:
