AxisFault fault = new AxisFault( ); fault .setFaultReason( BirtResources .getFormattedString( ResourceConstants.ACTION_EXCEPTION_INVALID_BOOKMARK, new String[]{bookmark} ) ); throw fault;
pageNumber = 1; useBookmark = false;
	protected void __execute( ) throws RemoteException	{		BaseAttributeBean attrBean = (BaseAttributeBean) context.getBean( );		boolean svgFlag = getSVGFlag( operation.getOprand( ) );		// First generate report document.		runReport( );		String bookmark = null;		boolean useBookmark = false;		String docName = attrBean.getReportDocumentName( );		try		{			long pageNumber = getPageNumber( context.getRequest( ), operation					.getOprand( ), docName );			if ( !isValidPageNumber( context.getRequest( ), pageNumber, docName ) )			{				InputOptions options = new InputOptions( );				bookmark = getBookmark( operation.getOprand( ), attrBean );				if ( bookmark != null && bookmark.length( ) > 0 )				{					options.setOption( InputOptions.OPT_REQUEST, context							.getRequest( ) );					pageNumber = getReportService( ).getPageNumberByBookmark(							docName, bookmark, options );					if ( !isValidPageNumber( context.getRequest( ), pageNumber,							docName ) )					{						bookmark = ( getReportService( ) ).findTocByName(								docName, bookmark, options );						pageNumber = getReportService( )								.getPageNumberByBookmark( docName, bookmark,										options );					}				}				if ( !isValidPageNumber( context.getRequest( ), pageNumber,						docName ) )				{					AxisFault fault = new AxisFault( );					fault							.setFaultReason( BirtResources									.getFormattedString(											ResourceConstants.ACTION_EXCEPTION_INVALID_BOOKMARK,											new String[]{bookmark} ) );					throw fault;				}				useBookmark = true;			}			doRenderPage( docName, pageNumber, svgFlag, attrBean					.isMasterPageContent( ), useBookmark, bookmark, attrBean					.getLocale( ), attrBean.isRtl( ) );		}		catch ( ReportServiceException e )		{			// TODO Auto-generated catch block			e.printStackTrace( );		}	}