p12f.exe.otp.objects
Class OTPError
java.lang.Object
p12f.exe.otp.objects.OTPError
- All Implemented Interfaces:
- java.io.Serializable
- public class OTPError
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
static OTPError |
getObject(java.lang.String xml)
Convierte un XML en un objeto OTPError. |
java.lang.String |
toXML()
Convierte un Objeto OTPError a XML. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_ERROR
public static final int NO_ERROR
- See Also:
- Constant Field Values
GENERATE_NO_APLICATION_ID
public static final int GENERATE_NO_APLICATION_ID
- See Also:
- Constant Field Values
GENERATE_NO_SERVICE_ID
public static final int GENERATE_NO_SERVICE_ID
- See Also:
- Constant Field Values
GENERATE_NO_OID
public static final int GENERATE_NO_OID
- See Also:
- Constant Field Values
GENERATE_OTHER
public static final int GENERATE_OTHER
- See Also:
- Constant Field Values
VALIDATE_NO_OTP
public static final int VALIDATE_NO_OTP
- See Also:
- Constant Field Values
VALIDATE_NO_APLICATION_ID
public static final int VALIDATE_NO_APLICATION_ID
- See Also:
- Constant Field Values
VALIDATE_NO_SERVICE_ID
public static final int VALIDATE_NO_SERVICE_ID
- See Also:
- Constant Field Values
VALIDATE_NO_OID
public static final int VALIDATE_NO_OID
- See Also:
- Constant Field Values
VALIDATE_NO_OTP_ID
public static final int VALIDATE_NO_OTP_ID
- See Also:
- Constant Field Values
VALIDATE_NO_RETRIES
public static final int VALIDATE_NO_RETRIES
- See Also:
- Constant Field Values
VALIDATE_EXPIRED
public static final int VALIDATE_EXPIRED
- See Also:
- Constant Field Values
VALIDATE_WRONG_OTP
public static final int VALIDATE_WRONG_OTP
- See Also:
- Constant Field Values
VALIDATE_OTHER
public static final int VALIDATE_OTHER
- See Also:
- Constant Field Values
SEND_NO_OTP
public static final int SEND_NO_OTP
- See Also:
- Constant Field Values
SEND_NO_APLICATION_ID
public static final int SEND_NO_APLICATION_ID
- See Also:
- Constant Field Values
SEND_NO_SERVICE_ID
public static final int SEND_NO_SERVICE_ID
- See Also:
- Constant Field Values
SEND_NO_OID
public static final int SEND_NO_OID
- See Also:
- Constant Field Values
SEND_NO_OTP_ID
public static final int SEND_NO_OTP_ID
- See Also:
- Constant Field Values
SEND_NO_PRESENTATION_DATA_TYPE
public static final int SEND_NO_PRESENTATION_DATA_TYPE
- See Also:
- Constant Field Values
SEND_MAIL
public static final int SEND_MAIL
- See Also:
- Constant Field Values
SEND_MAIL_NO_MAIL_TO_SEND
public static final int SEND_MAIL_NO_MAIL_TO_SEND
- See Also:
- Constant Field Values
SEND_MAIL_MALFORMED_MAIL_TO_SEND
public static final int SEND_MAIL_MALFORMED_MAIL_TO_SEND
- See Also:
- Constant Field Values
SEND_MAIL_NO_TEMPLATE
public static final int SEND_MAIL_NO_TEMPLATE
- See Also:
- Constant Field Values
SEND_MAIL_NO_OTP_IN_MSG
public static final int SEND_MAIL_NO_OTP_IN_MSG
- See Also:
- Constant Field Values
SEND_SMS
public static final int SEND_SMS
- See Also:
- Constant Field Values
SEND_SMS_NO_PHONE_NUMBER
public static final int SEND_SMS_NO_PHONE_NUMBER
- See Also:
- Constant Field Values
SEND_SMS_MALFORMED_PHONE_NUMBER
public static final int SEND_SMS_MALFORMED_PHONE_NUMBER
- See Also:
- Constant Field Values
SEND_SMS_NO_OTP_IN_MSG
public static final int SEND_SMS_NO_OTP_IN_MSG
- See Also:
- Constant Field Values
SEND_OTHER
public static final int SEND_OTHER
- See Also:
- Constant Field Values
otpErrorCode
public int otpErrorCode
otpErrorMsg
public java.lang.String otpErrorMsg
OTPError
public OTPError()
OTPError
public OTPError(int otpErrorCode)
OTPError
public OTPError(int otpErrorCode,
java.lang.String otpErrorMsg)
toXML
public java.lang.String toXML()
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un Objeto OTPError a XML.
- Returns:
- String que contiene el XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException
getObject
public static OTPError getObject(java.lang.String xml)
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un XML en un objeto OTPError.
- Returns:
- Objeto OTPError construido a partir del XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException