Error Event
Reports errors during one-time password (OTP) generation.
Syntax
public class DefaultOtpclientEventListener implements OtpclientEventListener { ... public void error(OtpclientErrorEvent e) {} ... } public class OtpclientErrorEvent { public int errorCode; public String description; }
Remarks
This event is fired in case of exceptional conditions during generation of one-time passwords.
ErrorCode contains an error code and Description contains a textual description of the error.