public void format(JwIndentWriter w) throws IOException {
   w.write(
       JwUtility.format(
           "       Receptacle Scan Type: %s\n", _scanType != null ? _scanType.toString() : null));
   w.write(JwUtility.format("Receptacle Container Number: %s\n", _containerNumber));
   w.write(JwUtility.format("      Receptacle List Count: %s\n", _receptacleLists.size()));
   formatReceptacleLists(w);
 }
Example #2
0
 public String getTypeName() {
   if (hasType(TYPE_GENERAL)) return NAME_GENERAL;
   if (hasType(TYPE_EXCEPTION)) return NAME_EXCEPTION;
   if (hasType(TYPE_UNSUPPORTED)) return NAME_UNSUPPORTED;
   if (hasType(TYPE_UNRESOLVED_DELEGATE)) return NAME_UNRESOLVED_DELEGATE;
   if (hasType(TYPE_UNRESOLVED_ALIAS)) return NAME_UNRESOLVED_ALIAS;
   return JwUtility.format("Unknown(%s)", getType());
 }
Example #3
0
 public void setMessage(String message, Object... args) {
   String s = JwUtility.format(message, args);
   super.setMessage(s);
 }
 public void format(JwIndentWriter w) throws IOException {
   w.write(JwUtility.format("Receptacle List Count: %s\n", _receptacleLists.size()));
   formatReceptacleLists(w);
 }