com.hack23.cia.service.api.common
Class ErrorResponse

Package class diagram package ErrorResponse
java.lang.Object
  extended by com.hack23.cia.service.api.common.AbstractServiceResponse
      extended by 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

Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.hack23.cia.service.api.common.ServiceResponse
ServiceResponse.ServiceResult
 
Constructor Summary
Constructor and Description
ErrorResponse(UserSessionDto userSessionDTO, String errorMessage)
          Instantiates a new error response.
 
Method Summary
Modifier and Type Method and Description
 String getErrorMessage()
          Gets the error message.
 ServiceResponse.ServiceResult getResult()
          Gets the result.
 
Methods inherited from class com.hack23.cia.service.api.common.AbstractServiceResponse
getUserSessionDTO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorResponse

public ErrorResponse(UserSessionDto userSessionDTO,
                     String errorMessage)
Instantiates a new error response.

Parameters:
userSessionDTO - the user session dto
errorMessage - the error message
Method Detail

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.