KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > InvalidApplicationException


1 /*
2  * @(#)InvalidApplicationException.java 4.18 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.management;
9
10
11 /**
12  * Thrown when an attempt is made to apply either of the following: A
13  * subquery expression to an MBean or a qualified attribute expression
14  * to an MBean of the wrong class. This exception is used internally
15  * by JMX during the evaluation of a query. User code does not
16  * usually see it.
17  *
18  * @since 1.5
19  */

20 public class InvalidApplicationException extends Exception JavaDoc {
21    
22
23     /* Serial version */
24     private static final long serialVersionUID = -3048022274675537269L;
25   
26     /**
27      * @serial The object representing the class of the MBean
28      */

29     private Object JavaDoc val;
30
31
32     /**
33      * Constructs an <CODE>InvalidApplicationException</CODE> with the specified <CODE>Object</CODE>.
34      *
35      * @param val the detail message of this exception.
36      */

37     public InvalidApplicationException(Object JavaDoc val) {
38     this.val = val;
39     }
40 }
41
Popular Tags