KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > aop > ExpectedException


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.spring.aop;
5
6 public class ExpectedException extends Exception JavaDoc {
7
8   private String JavaDoc m_cause;
9
10   public ExpectedException(String JavaDoc cause) {
11     m_cause = cause;
12   }
13
14   public String JavaDoc toString() {
15     return m_cause;
16   }
17 }
18
Popular Tags