public class ValidationResult extends Object
Present the result of the email validating process.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
RuntimeException |
getLastException()
The last error met in the validating process.
|
String |
getMessage()
Gets the detail message about the result.
|
int |
getReturnCode()
Gets or ses the response code of the validating process.
|
void |
setLastException(RuntimeException value)
The last error met in the validating process.
|
void |
setReturnCode(int value)
Gets or ses the response code of the validating process.
|
public ValidationResult()
Create an instance of the ValidationResult class
public ValidationResult(int responseCode)
Create an instance of the ValidationResult class, with the specified
responseCode
- The response code of the validating process.ValidationResponseCode
public ValidationResult(int responseCode, RuntimeException lastException)
Create an instance of the ValidationResult class, with the specified , and the last exception.
responseCode
- The response code of the validating process.lastException
- The last exception met in the validating process.ValidationResponseCode
public int getReturnCode()
Gets or ses the response code of the validating process.
public void setReturnCode(int value)
Gets or ses the response code of the validating process.
value
- a int.public String getMessage()
Gets the detail message about the result.
String
object.public RuntimeException getLastException()
The last error met in the validating process.
RuntimeException
object.public void setLastException(RuntimeException value)
The last error met in the validating process.
value
- a RuntimeException
object.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.