org.opentox.toxotis.exceptions
Interface IServiceInvocationException

All Known Subinterfaces:
IBadRequest, IClientException, IConnectionException, IForbidden, IMethodNotAllowed, INotFound, IOverload, IRemoteServiceException, ISecurityException, IServerException, IServerFailure, IUnauthorized
All Known Implementing Classes:
BadRequestException, ConnectionException, ForbiddenRequest, InternalServerError, MethodNotAllowed, NotFound, RemoteServiceException, ServiceInvocationException, Unauthorized

public interface IServiceInvocationException

Author:
Pantelis Sopasakis, Charalampos Chomenides

Method Summary
 ErrorReport asErrorReport()
           
 String errorCode()
           
 String getActor()
           
 String getDetails()
           
 ErrorReport getErrorReport()
          Returns the error report related to the current exception that is received by some other remote service.
 int getHttpStatus()
           
 String getMessage()
           
 void setActor(String actor)
           
 void setDetails(String details)
           
 void setErrorReport(ErrorReport errorReport)
           
 void setHttpStatus(int httpStatus)
           
 

Method Detail

getActor

String getActor()

getHttpStatus

int getHttpStatus()

getMessage

String getMessage()

getDetails

String getDetails()

getErrorReport

ErrorReport getErrorReport()
Returns the error report related to the current exception that is received by some other remote service. This error report is a child error report of the error report returned by asErrorReport().

Returns:

asErrorReport

ErrorReport asErrorReport()

errorCode

String errorCode()

setActor

void setActor(String actor)

setHttpStatus

void setHttpStatus(int httpStatus)

setDetails

void setDetails(String details)

setErrorReport

void setErrorReport(ErrorReport errorReport)


Copyright © 2011-2012 OpenTox. All Rights Reserved.