@Override public String toString() { return MessageFormat.format("CreateTask: {0}", token.getTokenId()); }
public CreateFailedException(Token token, Throwable e) { super(MessageFormat.format("Failed to create token:\n" + "{0}", token.toString()), e); }