Package org.rhq.enterprise.communications.command.param

Examples of org.rhq.enterprise.communications.command.param.NoParameterDefinitionsException


     * @see Command#getParameterDefinition(String)
     */
    public ParameterDefinition getParameterDefinition(String paramName) throws IllegalArgumentException,
        NoParameterDefinitionsException {
        if (m_parameterDefinitions == null) {
            throw new NoParameterDefinitionsException(LOG.getMsgString(CommI18NResourceKeys.NO_PARAM_DEF_ACCEPTS_ALL));
        }

        if (paramName == null) {
            throw new IllegalArgumentException(LOG.getMsgString(CommI18NResourceKeys.NULL_PARAM_NAME));
        }
View Full Code Here


    /**
     * @see Command#getParameterDefinitions()
     */
    public ParameterDefinition[] getParameterDefinitions() throws NoParameterDefinitionsException {
        if (m_parameterDefinitions == null) {
            throw new NoParameterDefinitionsException(LOG.getMsgString(CommI18NResourceKeys.NO_PARAM_DEF_ACCEPTS_ALL));
        }

        Collection<ParameterDefinition> paramDefs = m_parameterDefinitions.values();

        return paramDefs.toArray(new ParameterDefinition[paramDefs.size()]);
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.communications.command.param.NoParameterDefinitionsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.