ValidationResult
Inheritance: java.lang.Object
public class ValidationResult
Present the result of the email validating process.
Constructors
Constructor | Description |
---|---|
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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
responseCode | int | The 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:
Parameter | Type | Description |
---|---|---|
responseCode | int | The response code of the validating process. |
lastException | java.lang.RuntimeException | The last exception met in the validating process. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | java.lang.RuntimeException |
setReturnCode(int value)
public final void setReturnCode(int value)
Gets or ses the response code of the validating process.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |