MCPcopy Create free account
hub / github.com/apache/pig / toString

Method toString

src/org/apache/pig/PigException.java:471–476  ·  view source on GitHub ↗

Returns a short description of this throwable. The result is the concatenation of: the plain Class#getName() name of the class of this object ": " (a colon and a space) "ERROR " (the string ERROR followed by a a space) the result of invoking this object's {@link #getE

()

Source from the content-addressed store, hash-verified

469 * @return a string representation of this throwable.
470 */
471 @Override
472 public String toString() {
473 String s = getClass().getName();
474 String message = getLocalizedMessage();
475 return (message != null) ? (s + ": " + "ERROR " + getErrorCode() + ": " + message) : s;
476 }
477}

Callers

nothing calls this directly

Calls 3

getErrorCodeMethod · 0.95
getClassMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected