public void marshall(Problem problem, ProtocolMarshaller protocolMarshaller) {

        if (problem == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(problem.getRun(), RUN_BINDING);
            protocolMarshaller.marshall(problem.getJob(), JOB_BINDING);
            protocolMarshaller.marshall(problem.getSuite(), SUITE_BINDING);
            protocolMarshaller.marshall(problem.getTest(), TEST_BINDING);
            protocolMarshaller.marshall(problem.getDevice(), DEVICE_BINDING);
            protocolMarshaller.marshall(problem.getResult(), RESULT_BINDING);
            protocolMarshaller.marshall(problem.getMessage(), MESSAGE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Problem problem , ProtocolMarshaller protocolMarshaller ) { if ( problem == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( problem . getRun ( ) , RUN_BINDING ) ; protocolMarshaller . marshall ( problem . getJob ( ) , JOB_BINDING ) ; protocolMarshaller . marshall ( problem . getSuite ( ) , SUITE_BINDING ) ; protocolMarshaller . marshall ( problem . getTest ( ) , TEST_BINDING ) ; protocolMarshaller . marshall ( problem . getDevice ( ) , DEVICE_BINDING ) ; protocolMarshaller . marshall ( problem . getResult ( ) , RESULT_BINDING ) ; protocolMarshaller . marshall ( problem . getMessage ( ) , MESSAGE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.