Buggy code:
public class OperationRequestHandler implements CommandHandler , OperationCommand { @ Override public boolean isBatchMode ( ) { } @ Override public void handle ( CommandContext ctx ) { } @ Override public boolean isAvailable ( CommandContext ctx ) { } @ Override public ModelNode buildRequest ( CommandContext ctx ) throws CommandFormatException { } @ Override public boolean hasArgument ( String name ) { } @ Override public boolean hasArgument ( int index ) { } @ Override public List < CommandArgument > getArguments ( CommandContext ctx ) { } private void validateRequest ( CommandContext ctx , ModelNode request ) throws CommandFormatException { final ModelControllerClient client = ctx . getModelControllerClient ( ) ; if ( client == null ) { throw new CommandFormatException ( "No<seq2seq4repair_space>connection<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>controller." ) ; } final Set < String > keys = request . keys ( ) ; if ( ! ( keys . contains ( OPERATION ) ) ) { throw new CommandFormatException ( "Request<seq2seq4repair_space>is<seq2seq4repair_space>missing<seq2seq4repair_space>the<seq2seq4repair_space>operation<seq2seq4repair_space>name." ) ; } final String operationName = request . get ( OPERATION ) . asString ( ) ; if ( ! ( keys . contains ( ADDRESS ) ) ) { throw new CommandFormatException ( "Request<seq2seq4repair_space>is<seq2seq4repair_space>missing<seq2seq4repair_space>the<seq2seq4repair_space>address<seq2seq4repair_space>part." ) ; } final ModelNode address = request . get ( ADDRESS ) ; if ( ( keys . size ( ) ) == 2 ) { return ; } final ModelNode opDescrReq = new ModelNode ( ) ; opDescrReq . get ( ADDRESS ) . set ( address ) ; opDescrReq . get ( OPERATION ) . set ( READ_OPERATION_DESCRIPTION ) ; opDescrReq . get ( NAME ) . set ( operationName ) ; final ModelNode outcome ; try { outcome = client . execute ( opDescrReq ) ; } catch ( Exception e ) { throw new CommandFormatException ( ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>perform<seq2seq4repair_space>" + ( Util . READ_OPERATION_DESCRIPTION ) ) + "<seq2seq4repair_space>to<seq2seq4repair_space>validate<seq2seq4repair_space>the<seq2seq4repair_space>request:<seq2seq4repair_space>" ) + ( e . getLocalizedMessage ( ) ) ) ) ; } if ( ! ( Util . isSuccess ( outcome ) ) ) { <START_BUG> throw new CommandFormatException ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>get<seq2seq4repair_space>the<seq2seq4repair_space>list<seq2seq4repair_space>of<seq2seq4repair_space>supported<seq2seq4repair_space>operation<seq2seq4repair_space>properties." ) ; <END_BUG> } if ( ! ( outcome . has ( RESULT ) ) ) { throw new CommandFormatException ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>perform<seq2seq4repair_space>" + ( Util . READ_OPERATION_DESCRIPTION ) ) + "<seq2seq4repair_space>to<seq2seq4repair_space>validate<seq2seq4repair_space>the<seq2seq4repair_space>request:<seq2seq4repair_space>result<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>available." ) ) ; } final ModelNode result = outcome . get ( RESULT ) ; if ( ! ( result . hasDefined ( REQUEST_PROPERTIES ) ) ) { throw new CommandFormatException ( ( ( "Operation<seq2seq4repair_space>'" + operationName ) + "'<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>expect<seq2seq4repair_space>any<seq2seq4repair_space>property." ) ) ; } final Set < String > definedProps = result . get ( "request-properties" ) . keys ( ) ; if ( definedProps . isEmpty ( ) ) { throw new CommandFormatException ( ( ( "Operation<seq2seq4repair_space>'" + operationName ) + "'<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>expect<seq2seq4repair_space>any<seq2seq4repair_space>property." ) ) ; } int skipped = 0 ; for ( String prop : keys ) { if ( ( skipped < 2 ) && ( ( prop . equals ( ADDRESS ) ) || ( prop . equals ( OPERATION ) ) ) ) { ++ skipped ; continue ; } if ( ! ( definedProps . contains ( prop ) ) ) { if ( ! ( OPERATION_HEADERS . equals ( prop ) ) ) { throw new CommandFormatException ( ( ( ( "'" + prop ) + "'<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>found<seq2seq4repair_space>among<seq2seq4repair_space>the<seq2seq4repair_space>supported<seq2seq4repair_space>properties:<seq2seq4repair_space>" ) + definedProps ) ) ; } } } } }

Fix:
throw new CommandFormatException ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>get<seq2seq4repair_space>the<seq2seq4repair_space>list<seq2seq4repair_space>of<seq2seq4repair_space>the<seq2seq4repair_space>operation<seq2seq4repair_space>properties:<seq2seq4repair_space>\"" + ( Util . getFailureDescription ( outcome ) ) ) + '\"' ) ) ;