jdk/src/java.management/share/classes/javax/management/ValueExp.java
changeset 29927 9cc3e111a1d8
parent 25859 3317bb8137f4
equal deleted inserted replaced
29926:2eceae3716d9 29927:9cc3e111a1d8
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2004, 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
    78      *
    78      *
    79      * @param name The name of the MBean on which the ValueExp will be applied.
    79      * @param name The name of the MBean on which the ValueExp will be applied.
    80      *
    80      *
    81      * @return  The <CODE>ValueExp</CODE>.
    81      * @return  The <CODE>ValueExp</CODE>.
    82      *
    82      *
    83      * @exception BadStringOperationException
    83      * @throws BadStringOperationException when an invalid string
    84      * @exception BadBinaryOpValueExpException
    84      * operation is passed to a method for constructing a query
    85      * @exception BadAttributeValueExpException
    85      * @throws BadBinaryOpValueExpException when an invalid expression
    86      * @exception InvalidApplicationException
    86      * is passed to a method for constructing a query
       
    87      * @throws BadAttributeValueExpException when an invalid MBean
       
    88      * attribute is passed to a query constructing method
       
    89      * @throws InvalidApplicationException when an invalid apply is attempted
    87      */
    90      */
    88     public ValueExp apply(ObjectName name)
    91     public ValueExp apply(ObjectName name)
    89             throws BadStringOperationException, BadBinaryOpValueExpException,
    92             throws BadStringOperationException, BadBinaryOpValueExpException,
    90                    BadAttributeValueExpException, InvalidApplicationException;
    93                    BadAttributeValueExpException, InvalidApplicationException;
    91 
    94