ValidationResult

Inheritance: java.lang.Object

public class ValidationResult

Present the result of the email validating process.

Constructors

ConstructorDescription
ValidationResult()Create an instance of the ValidationResult class
ValidationResult(int responseCode)Create an instance of the ValidationResult class, with the specified
ValidationResult(int responseCode, RuntimeException lastException)Create an instance of the ValidationResult class, with the specified , and the last exception.

Methods

MethodDescription
equals(Object arg0)
getClass()
getLastException()The last error met in the validating process.
getMessage()Gets the detail message about the result.
getReturnCode()Gets or ses the response code of the validating process.
hashCode()
notify()
notifyAll()
setLastException(RuntimeException value)The last error met in the validating process.
setReturnCode(int value)Gets or ses the response code of the validating process.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ValidationResult()

public ValidationResult()

Create an instance of the ValidationResult class

ValidationResult(int responseCode)

public ValidationResult(int responseCode)

Create an instance of the ValidationResult class, with the specified

Parameters:

ParameterTypeDescription
responseCodeintThe response code of the validating process.

ValidationResult(int responseCode, RuntimeException lastException)

public ValidationResult(int responseCode, RuntimeException lastException)

Create an instance of the ValidationResult class, with the specified , and the last exception.

Parameters:

ParameterTypeDescription
responseCodeintThe response code of the validating process.
lastExceptionjava.lang.RuntimeExceptionThe last exception met in the validating process.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLastException()

public final RuntimeException getLastException()

The last error met in the validating process.

Returns: java.lang.RuntimeException

getMessage()

public final String getMessage()

Gets the detail message about the result.

Returns: java.lang.String

getReturnCode()

public final int getReturnCode()

Gets or ses the response code of the validating process.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setLastException(RuntimeException value)

public final void setLastException(RuntimeException value)

The last error met in the validating process.

Parameters:

ParameterTypeDescription
valuejava.lang.RuntimeException

setReturnCode(int value)

public final void setReturnCode(int value)

Gets or ses the response code of the validating process.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int