com.hack23.cia.service.api.common
Class ErrorResponse
java.lang.Object
com.hack23.cia.service.api.common.AbstractServiceResponse
com.hack23.cia.service.api.common.ErrorResponse
- All Implemented Interfaces:
- ServiceMessage, ServiceResponse, Serializable
public class ErrorResponse
extends AbstractServiceResponse
The Class ErrorResponse.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorResponse
public ErrorResponse(UserSessionDto userSessionDTO,
String errorMessage)
- Instantiates a new error response.
- Parameters:
userSessionDTO
- the user session dtoerrorMessage
- the error message
getErrorMessage
public final String getErrorMessage()
- Gets the error message.
- Returns:
- the error message
getResult
public final ServiceResponse.ServiceResult getResult()
- Description copied from interface:
ServiceResponse
- Gets the result.
- Returns:
- the result
Copyright © 2008-2010 www.hack23.com. All Rights Reserved.