container/usage/src/main/java/org/mobicents/slee/container/management/jmx/ServiceUsageMBeanImpl.java
public void createUsageParameterSet(SbbID sbbId, String name)
			throws NullPointerException, UnrecognizedSbbException,
			InvalidArgumentException,
			UsageParameterSetNameAlreadyExistsException, ManagementException {

		if (name == null)
			throw new NullPointerException("Sbb usage param set is null");
		if (name.length() == 0)
			throw new InvalidArgumentException(
					"The lenght of the Usage Parameter Set Name is zero!");
		if (!isValidUsageParameterName(name))
			throw new InvalidArgumentException(
					"The lenght of the Usage Parameter Set Name is zero!");

		_createUsageParameterSet(sbbId, name, true);

	}
public void createUsageParameterSet(SbbID sbbId, String name)
			throws NullPointerException, UnrecognizedSbbException,
			InvalidArgumentException,
			UsageParameterSetNameAlreadyExistsException, ManagementException {

		if (name == null)
			throw new NullPointerException("Sbb usage param set is null");
		if (name.length() == 0)
			throw new InvalidArgumentException(
					"The lenght of the Usage Parameter Set Name is zero!");
		if (!isValidUsageParameterName(name))
			throw new InvalidArgumentException(
					"The lenght of the Usage Parameter Set Name is zero!");

		_createUsageParameterSet(sbbId, name, true);

	}
public void createUsageParameterSet ( SbbID sbbId , String name ) throws NullPointerException , UnrecognizedSbbException , InvalidArgumentException , UsageParameterSetNameAlreadyExistsException , ManagementException { if ( name == null ) throw new NullPointerException ( "Sbb usage param set is null" ) ; if ( name . length ( ) == 0 ) throw new InvalidArgumentException ( "The lenght of the Usage Parameter Set Name is zero!" ) ; if ( ! isValidUsageParameterName ( name ) ) throw new InvalidArgumentException ( "The lenght of the Usage Parameter Set Name is zero!" ) ; _createUsageParameterSet ( sbbId , name , true ) ; }
/*
(non-Javadoc)

@see javax.slee.management.ServiceUsageMBean#createUsageParameterSet(javax.slee.SbbID,
java.lang.String)
/ * ( non - Javadoc )