public void setError()

in Bolts/src/bolts/Task.java [635:639]


    public void setError(Exception error) {
      if (!trySetError(error)) {
        throw new IllegalStateException("Cannot set the error on a completed task.");
      }
    }