/*
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.android.agera;

import android.support.annotation.Nullable;

/**
 * The exception thrown by {@link Result#get()} on a failed result. The cause of the failure can be
 * accessed via {@link #getCause()}.
 */
public final class FailedResultException extends IllegalStateException {

  FailedResultException(@Nullable final Throwable cause) {
    super("Cannot get() from a failed result", cause);
  }
}

@@ -830,20 +830,43 @@
 use()%7D.%0A
+ *%0A * %E9%94%99%E8%AF%AF%E7%BB%93%E6%9E%9C%EF%BC%88 Result %EF%BC%89%E5%BC%82%E5%B8%B8%0A
  */%0A
-
 public f
@@ -931,16 +931,18 @@
 tion %7B%0A%0A
+  
   Failed
@@ -992,16 +992,20 @@
 ause) %7B%0A
+    
     supe
@@ -1051,14 +1051,16 @@
 cause);%0A
+  
   %7D%0A%7D%0A

add FailedResultException comments in agera-1.0.0-rc2 module