public ApiPreprocessingContext process ( Object object ) throws ApiErrorsException { if ( result != null ) { throw new IllegalStateException ( "This preprocessing context has already been used; create another one." ) ; } result = preprocessor . process ( object , this ) ; if ( failOnErrors && apiErrorResponse . hasErrors ( ) ) { throw new ApiErrorsException ( apiErrorResponse ) ; } return this ; }
Runs preprocessing on the specified object .