public V1BlockingInteractionResponse performBlockingInteraction( V1PerformBlockingInteraction performBlockingInteraction) throws V1InvalidSession, V1UnsupportedMode, V1UnsupportedMimeType, V1OperationFailed, V1UnsupportedWindowState, V1UnsupportedLocale, V1AccessDenied, V1PortletStateChangeRequired, V1InvalidRegistration, V1MissingParameters, V1InvalidUserCategory, V1InconsistentParameters, V1InvalidHandle, V1InvalidCookie { try { BlockingInteractionResponse blockingInteractionResponse = producer.performBlockingInteraction( V1ToV2Converter.toV2PerformBlockingInteraction(performBlockingInteraction)); return V2ToV1Converter.toV1BlockingInteractionResponse(blockingInteractionResponse); } catch (InvalidSession invalidSession) { throw V2ToV1Converter.toV1Exception(V1InvalidSession.class, invalidSession); } catch (UnsupportedMode unsupportedMode) { throw V2ToV1Converter.toV1Exception(V1UnsupportedMode.class, unsupportedMode); } catch (UnsupportedMimeType unsupportedMimeType) { throw V2ToV1Converter.toV1Exception(V1UnsupportedMimeType.class, unsupportedMimeType); } catch (OperationFailed operationFailed) { throw V2ToV1Converter.toV1Exception(V1OperationFailed.class, operationFailed); } catch (UnsupportedWindowState unsupportedWindowState) { throw V2ToV1Converter.toV1Exception(V1UnsupportedWindowState.class, unsupportedWindowState); } catch (UnsupportedLocale unsupportedLocale) { throw V2ToV1Converter.toV1Exception(V1UnsupportedLocale.class, unsupportedLocale); } catch (AccessDenied accessDenied) { throw V2ToV1Converter.toV1Exception(V1AccessDenied.class, accessDenied); } catch (PortletStateChangeRequired portletStateChangeRequired) { throw V2ToV1Converter.toV1Exception( V1PortletStateChangeRequired.class, portletStateChangeRequired); } catch (InvalidRegistration invalidRegistration) { throw V2ToV1Converter.toV1Exception(V1InvalidRegistration.class, invalidRegistration); } catch (MissingParameters missingParameters) { throw V2ToV1Converter.toV1Exception(V1MissingParameters.class, missingParameters); } catch (InvalidUserCategory invalidUserCategory) { throw V2ToV1Converter.toV1Exception(V1InvalidUserCategory.class, invalidUserCategory); } catch (InconsistentParameters inconsistentParameters) { throw V2ToV1Converter.toV1Exception(V1InconsistentParameters.class, inconsistentParameters); } catch (InvalidHandle invalidHandle) { throw V2ToV1Converter.toV1Exception(V1InvalidHandle.class, invalidHandle); } catch (InvalidCookie invalidCookie) { throw V2ToV1Converter.toV1Exception(V1InvalidCookie.class, invalidCookie); } catch (ModifyRegistrationRequired modifyRegistrationRequired) { throw WSRP1ExceptionFactory.createWSException( V1OperationFailed.class, "Need to call modifyRegistration", modifyRegistrationRequired); } catch (ResourceSuspended resourceSuspended) { throw WSRP1ExceptionFactory.createWSException( V1OperationFailed.class, "Resource suspended", resourceSuspended); } }