MCPcopy Index your code
hub / github.com/BoltsFramework/Bolts-Java / isFaulted

Method isFaulted

Bolts/src/bolts/Task.java:130–134  ·  view source on GitHub ↗

@return true if the task has an error, false otherwise.

()

Source from the content-addressed store, hash-verified

128 * @return {@code true} if the task has an error, {@code false} otherwise.
129 */
130 public boolean isFaulted() {
131 synchronized (lock) {
132 return error != null;
133 }
134 }
135
136 /**
137 * @return The result of the task, if set. {@code null} otherwise.

Callers 7

runTaskTestMethod · 0.80
testPrimitivesMethod · 0.80
thenMethod · 0.80
testOnSuccessMethod · 0.80
testOnSuccessTaskMethod · 0.80
thenMethod · 0.80

Calls

no outgoing calls

Tested by 6

runTaskTestMethod · 0.64
testPrimitivesMethod · 0.64
thenMethod · 0.64
testOnSuccessMethod · 0.64
testOnSuccessTaskMethod · 0.64