jdk/src/java.management/share/classes/javax/management/AttributeValueExp.java
changeset 29927 9cc3e111a1d8
parent 25859 3317bb8137f4
equal deleted inserted replaced
29926:2eceae3716d9 29927:9cc3e111a1d8
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    91      *
    91      *
    92      * @param name The name of the MBean on which the <CODE>AttributeValueExp</CODE> will be applied.
    92      * @param name The name of the MBean on which the <CODE>AttributeValueExp</CODE> will be applied.
    93      *
    93      *
    94      * @return  The <CODE>ValueExp</CODE>.
    94      * @return  The <CODE>ValueExp</CODE>.
    95      *
    95      *
    96      * @exception BadAttributeValueExpException
    96      * @throws BadStringOperationException {@inheritDoc}
    97      * @exception InvalidApplicationException
    97      * @throws BadBinaryOpValueExpException {@inheritDoc}
    98      * @exception BadStringOperationException
    98      * @throws BadAttributeValueExpException {@inheritDoc}
    99      * @exception BadBinaryOpValueExpException
    99      * @throws InvalidApplicationException  {@inheritDoc}
   100      *
       
   101      */
   100      */
   102     @Override
   101     @Override
   103     public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
   102     public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
   104         BadAttributeValueExpException, InvalidApplicationException {
   103         BadAttributeValueExpException, InvalidApplicationException {
   105         Object result = getAttribute(name);
   104         Object result = getAttribute(name);