Package com.arcadedb.server.ha.message
Class ErrorResponse
- java.lang.Object
-
- com.arcadedb.server.ha.message.HAAbstractCommand
-
- com.arcadedb.server.ha.message.ErrorResponse
-
- All Implemented Interfaces:
HACommand
public class ErrorResponse extends HAAbstractCommand
Response for forwarded transaction.
-
-
Field Summary
Fields Modifier and Type Field Description String
exceptionClass
String
exceptionMessage
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
ErrorResponse(Exception exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HACommand
execute(HAServer server, String remoteServerName, long messageNumber)
void
fromStream(ArcadeDBServer server, Binary stream)
void
toStream(Binary stream)
String
toString()
-
-
-
Constructor Detail
-
ErrorResponse
public ErrorResponse()
-
ErrorResponse
public ErrorResponse(Exception exception)
-
-
Method Detail
-
toStream
public void toStream(Binary stream)
- Specified by:
toStream
in interfaceHACommand
- Overrides:
toStream
in classHAAbstractCommand
-
fromStream
public void fromStream(ArcadeDBServer server, Binary stream)
- Specified by:
fromStream
in interfaceHACommand
- Overrides:
fromStream
in classHAAbstractCommand
-
-