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

Method getError

Bolts/src/bolts/Task.java:148–152  ·  view source on GitHub ↗

@return The error for the task, if set. null otherwise.

()

Source from the content-addressed store, hash-verified

146 * @return The error for the task, if set. {@code null} otherwise.
147 */
148 public Exception getError() {
149 synchronized (lock) {
150 return error;
151 }
152 }
153
154 /**
155 * Blocks until the task is complete.

Callers 6

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

Calls

no outgoing calls

Tested by 5

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