KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > snmp > SnmpSecurityException


1 /*
2  * @(#)file SnmpSecurityException.java
3  * @(#)author Sun Microsystems, Inc.
4  * @(#)version 1.16
5  * @(#)date 08/02/09
6  *
7  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
8  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
9  *
10  */

11 package com.sun.jmx.snmp;
12
13 /**
14  * This exception is thrown when an error occurs in an <CODE> SnmpSecurityModel </CODE>.
15  * <p><b>This API is a Sun Microsystems internal API and is subject
16  * to change without notice.</b></p>
17  * @since 1.5
18  */

19 public class SnmpSecurityException extends Exception JavaDoc {
20     /**
21      * The current request varbind list.
22      */

23     public SnmpVarBind[] list = null;
24     /**
25      * The status of the exception. See {@link com.sun.jmx.snmp.SnmpDefinitions} for possible values.
26      */

27     public int status = SnmpDefinitions.snmpReqUnknownError;
28     /**
29      * The current security model related security parameters.
30      */

31     public SnmpSecurityParameters params = null;
32     /**
33      * The current context engine Id.
34      */

35     public byte[] contextEngineId = null;
36      /**
37      * The current context name.
38      */

39     public byte[] contextName = null;
40      /**
41      * The current flags.
42      */

43     public byte flags = (byte) SnmpDefinitions.noAuthNoPriv;
44     /**
45      * Constructor.
46      * @param msg The exception msg to display.
47      */

48     public SnmpSecurityException(String JavaDoc msg) {
49     super(msg);
50     }
51 }
52
Popular Tags