Java 类com.sun.jmx.snmp.SnmpBadSecurityLevelException 实例源码

项目:OpenJSharp    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:jdk8u-jdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:jdk8u_jdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:lookaside_java-1.8.0-openjdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:infobip-open-jdk-8    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:jdk8u-dev-jdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:jdk7-jdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:openjdk-source-code-learn    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:OLD-OpenJDK8    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:openjdk-jdk7u-jdk    文件:SnmpEngineImpl.java   
/**
 * Checks the passed msg flags according to the rules specified in RFC 2572.
 * @param msgFlags The msg flags.
 */
public static void checkSecurityLevel(byte msgFlags)
    throws SnmpBadSecurityLevelException {
    int secLevel = msgFlags & SnmpDefinitions.authPriv;
    if((secLevel & SnmpDefinitions.privMask) != 0)
        if((secLevel & SnmpDefinitions.authMask) == 0) {
            throw new SnmpBadSecurityLevelException("Security level:"+
                                                    " noAuthPriv!!!");
        }
}
项目:OpenJSharp    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:jdk8u-jdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:jdk8u_jdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:lookaside_java-1.8.0-openjdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:infobip-open-jdk-8    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:jdk8u-dev-jdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:jdk7-jdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:openjdk-source-code-learn    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:OLD-OpenJDK8    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:openjdk-jdk7u-jdk    文件:SnmpIncomingRequest.java   
/**
 * Decodes the specified bytes and initializes the request with the incoming message.
 *
 * @param inputBytes The bytes to be decoded.
 *
 * @exception SnmpStatusException If the specified bytes are not a valid encoding or if the security applied to this request failed and no report is to be sent (typically trap PDU).
 */
public void decodeMessage(byte[] inputBytes,
                          int byteCount,
                          InetAddress address,
                          int port)
    throws SnmpStatusException, SnmpUnknownSecModelException,
           SnmpBadSecurityLevelException;
项目:OpenJSharp    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:jdk8u-jdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:jdk8u_jdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:lookaside_java-1.8.0-openjdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:infobip-open-jdk-8    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:jdk8u-dev-jdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:jdk7-jdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:openjdk-source-code-learn    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:OLD-OpenJDK8    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;
项目:openjdk-jdk7u-jdk    文件:SnmpOutgoingRequest.java   
/**
 * Encodes the message to send and puts the result in the specified byte array.
 *
 * @param outputBytes An array to receive the resulting encoding.
 *
 * @exception ArrayIndexOutOfBoundsException If the result does not fit
 *                                           into the specified array.
 */
public int encodeMessage(byte[] outputBytes)
    throws SnmpStatusException,
           SnmpTooBigException, SnmpSecurityException,
           SnmpUnknownSecModelException, SnmpBadSecurityLevelException;