01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.spring.aop;
05:
06: public class ExpectedException extends Exception {
07:
08: private String m_cause;
09:
10: public ExpectedException(String cause) {
11: m_cause = cause;
12: }
13:
14: public String toString() {
15: return m_cause;
16: }
17: }
|