public ServiceFault getFault ( boolean checkHash ) throws FoxHttpResponseException { try { String body = getStringBody ( ) ; ServiceResult < ServiceFault > result = parser . fromJson ( body , new TypeToken < ServiceResult < ServiceFault > > ( ) { } . getType ( ) ) ; foxHttpClient . getFoxHttpLogger ( ) . log ( "processFault(" + result + ")" ) ; checkHash ( checkHash , body , result ) ; return result . getContent ( ) ; } catch ( IOException e ) { throw new FoxHttpResponseException ( e ) ; } }
Get the fault of the service result