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

Package class diagram package ApplicationErrorResponse
java.lang.Object
  extended by com.hack23.cia.service.api.common.AbstractServiceMessage
      extended by com.hack23.cia.service.api.common.AbstractServiceResponse
          extended by com.hack23.cia.service.api.common.ApplicationErrorResponse
All Implemented Interfaces:
ServiceMessage, ServiceResponse, Serializable

public class ApplicationErrorResponse
extends AbstractServiceResponse

The Class ApplicationErrorResponse.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.service.api.common.ServiceResponse
ServiceResponse.ServiceResult
 
Constructor Summary
ApplicationErrorResponse(UserSessionDto userSessionDTO, String errorMessage)
          Instantiates a new application error response.
 
Method Summary
 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

ApplicationErrorResponse

public ApplicationErrorResponse(UserSessionDto userSessionDTO,
                                String errorMessage)
Instantiates a new application 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-2009 www.hack23.com. All Rights Reserved.