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

Method exception

src/java/com/libmailcore/SMTPOperation.java:8–13  ·  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

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

Callers 1

callCallbackMethod · 0.95

Calls 1

errorCodeMethod · 0.95

Tested by

no test coverage detected