lookupMailData (msg.getTarget());
if (msg != null) lookupMailData (msg.getTarget());
    public int cost (AttributedMessage msg)     {      // return protocolCost;  // pre 8.6.1      //  Calling lookupMailData() is a hack to perform the canSendMessage()      //  kind of method within the cost function rather than in the adaptive      //  link selection policy code, where we believe it makes more sense.      try       {        lookupMailData (msg.getTarget());        return protocolCost;      }       catch (Exception e)       {        return Integer.MAX_VALUE;      }                              }