Error Event
Information about errors during PGP encryption.
Syntax
public class DefaultPgpwriterEventListener implements PgpwriterEventListener { ... public void error(PgpwriterErrorEvent e) {} ... } public class PgpwriterErrorEvent { public int errorCode; public String description; }
Remarks
The event is fired in case of exceptional conditions during data encryption or signing.
ErrorCode contains an error code and Description contains a textual description of the error.