MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / exception

Method exception

src/java/com/libmailcore/NNTPOperation.java:9–14  ·  view source on GitHub ↗

Returns error once the operation finished running. It will return null if the operation successfully ran.

()

Source from the content-addressed store, hash-verified

7 successfully ran.
8 */
9 public MailException exception() {
10 if (errorCode() == ErrorCode.ErrorNone) {
11 return null;
12 }
13 return new MailException(errorCode());
14 }
15
16 private native int errorCode();
17

Callers 1

callCallbackMethod · 0.95

Calls 1

errorCodeMethod · 0.95

Tested by

no test coverage detected