public CommandNotExpectedException(TcpCommand expected,TcpCommand actual){
  super(String.format("Expected : %s. Actual : %s.",expected,actual));
}

public CommandNotExpectedException ( TcpCommand expected , TcpCommand actual ) { super ( String . format ( "Expected : %s. Actual : %s." , expected , actual ) ) ; }
creates new a new instance .
