KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > javax > management > support > MBeanThrowingExceptions


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package test.javax.management.support;
10
11 import javax.management.ReflectionException JavaDoc;
12
13 /**
14  * @version $Revision: 1.1 $
15  */

16 public class MBeanThrowingExceptions implements MBeanThrowingExceptionsMBean
17 {
18    public void throwReflectionException() throws ReflectionException JavaDoc
19    {
20       throw new ReflectionException JavaDoc(null);
21    }
22 }
23
Popular Tags