public String toString (String nm) { StringBuffer strb = new StringBuffer(); strb.append (shortClassName() +":: "); strb.append ((((getMessage() == null) ? "" : getMessage()))); if (getMessage()==null){ strb.append ((getCause() == null)  ? "" : getCauseMessage(nm)); } else { strb.append ((((getCause() == null) ) ? "" : (nm+"cause: " + getCauseMessage(nm)))); } strb.append ((((this.containsKey(DATA))) ? (nm+DATA+  ": " + get(DATA)) : "" )); strb.append ((((this.containsKey(PRIM_COMPLETE_NAME))) ? (nm+PRIM_COMPLETE_NAME+ ": " + get(PRIM_COMPLETE_NAME)) : "" )); strb.append ((((this.containsKey(PRIM_CONTEXT))) ? (nm+PRIM_CONTEXT+ ": " + "included") : "" )); return strb.toString();
public String toString() { return toString(", ");
    public String toString (String nm) {        StringBuffer strb = new StringBuffer();        strb.append (shortClassName() +":: ");        strb.append ((((getMessage() == null) ? "" : getMessage())));        if (getMessage()==null){            strb.append ((getCause() == null)  ? "" : getCauseMessage(nm));        } else {            strb.append ((((getCause() == null) ) ? "" : (nm+"cause: " +            getCauseMessage(nm))));        }        strb.append ((((this.containsKey(DATA))) ? (nm+DATA+  ": "                                                    + get(DATA)) : "" ));        strb.append ((((this.containsKey(PRIM_COMPLETE_NAME))) ? (nm+PRIM_COMPLETE_NAME+                                                  ": " + get(PRIM_COMPLETE_NAME)) : "" ));        strb.append ((((this.containsKey(PRIM_CONTEXT))) ? (nm+PRIM_CONTEXT+                                                  ": " + "included") : "" ));        return strb.toString();    }