Ejemplo n.º 1
0
 /**
  * Creates a message of this type from a JSON throwing a runtime exception if the format of the
  * message does not match
  */
 public static MethodInvokeFailure fromJSON(CharSequence c) {
   return MessageSerializer.readFromJSON(SERIALIZER, c);
 }
Ejemplo n.º 2
0
 /** Returns a JSON representation of this message */
 public String toJSON() {
   return MessageSerializer.writeToJSON(this, SERIALIZER);
 }