org.robokind.impl.messaging.services
Class PortableServiceError

java.lang.Object
  extended by org.robokind.impl.messaging.services.PortableServiceError
All Implemented Interfaces:
ServiceError

public class PortableServiceError
extends Object
implements ServiceError

Author:
Matthew Stevenson

Nested Class Summary
static class PortableServiceError.MessageRecordAdapter
           
static class PortableServiceError.RecordMessageAdapter
           
 
Constructor Summary
PortableServiceError(ServiceError error)
           
PortableServiceError(ServiceErrorRecord record)
           
PortableServiceError(String sourceId, String destinationId, long timestampMillisecUTC, String errorType, String message, String details)
           
 
Method Summary
 String getDestinationId()
           
 String getDetails()
           
 String getErrorType()
           
 String getMessage()
           
 ServiceErrorRecord getRecord()
           
 String getSourceId()
           
 long getTimestampMillisecUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableServiceError

public PortableServiceError(ServiceErrorRecord record)

PortableServiceError

public PortableServiceError(ServiceError error)

PortableServiceError

public PortableServiceError(String sourceId,
                            String destinationId,
                            long timestampMillisecUTC,
                            String errorType,
                            String message,
                            String details)
Method Detail

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface ServiceError

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface ServiceError

getTimestampMillisecUTC

public long getTimestampMillisecUTC()
Specified by:
getTimestampMillisecUTC in interface ServiceError

getErrorType

public String getErrorType()
Specified by:
getErrorType in interface ServiceError

getMessage

public String getMessage()
Specified by:
getMessage in interface ServiceError

getDetails

public String getDetails()
Specified by:
getDetails in interface ServiceError

getRecord

public ServiceErrorRecord getRecord()


Copyright © 2011-2012. All Rights Reserved.