`

    import quickfix.*;
    import quickfix.field.*;

    public void fromApp(Message message, SessionID sessionID)
      throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {

      crack(message, sessionID);
    }

    public void onMessage( quickfix.fix42.NewOrderSingle message, SessionID sessionID )
      throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {

      ClOrdID clOrdID = new ClOrdID();
      message.get(clOrdID);

      ClearingAccount clearingAccount = new ClearingAccount();
      message.get(clearingAccount);
    }

    public void onMessage( quickfix.fix42.OrderCancelRequest message, SessionID sessionID )
      throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {

      ClOrdID clOrdID = new ClOrdID();
      message.get(clOrdID);

`// compile time error!! field not defined for OrderCancelRequest ClearingAccount clearingAccount = new ClearingAccount(); message.get(clearingAccount); }