private void checkStartActivityParameters(ActivityHandle handle,
			Object activity) throws NullPointerException, IllegalStateException {

		// check args
		if (handle == null) {
			throw new NullPointerException("null handle");
		}
		if (activity == null) {
			throw new NullPointerException("null activity");
		}
		// check ra state
		if (raEntity.getResourceAdaptorObject().getState() != ResourceAdaptorObjectState.ACTIVE) {
			throw new IllegalStateException("ra is in state "
					+ raEntity.getResourceAdaptorObject().getState());
		}
	}
private void checkStartActivityParameters(ActivityHandle handle,
			Object activity) throws NullPointerException, IllegalStateException {

		
		if (handle == null) {
			throw new NullPointerException("null handle");
		}
		if (activity == null) {
			throw new NullPointerException("null activity");
		}
		
		if (raEntity.getResourceAdaptorObject().getState() != ResourceAdaptorObjectState.ACTIVE) {
			throw new IllegalStateException("ra is in state "
					+ raEntity.getResourceAdaptorObject().getState());
		}
	}
private void checkStartActivityParameters ( ActivityHandle handle , Object activity ) throws NullPointerException , IllegalStateException { // check args if ( handle == null ) { throw new NullPointerException ( "null handle" ) ; } if ( activity == null ) { throw new NullPointerException ( "null activity" ) ; } // check ra state if ( raEntity . getResourceAdaptorObject ( ) . getState ( ) != ResourceAdaptorObjectState . ACTIVE ) { throw new IllegalStateException ( "ra is in state " + raEntity . getResourceAdaptorObject ( ) . getState ( ) ) ; } }
Checks the parameters of startActivity* methods

@param handle
@param activity
@throws NullPointerException
@throws IllegalStateException
Checks the parameters of startActivity * methods