Module it.polimi.ingsw.am13
Class MsgResponseError
java.lang.Object
it.polimi.ingsw.am13.network.socket.message.Message
it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
it.polimi.ingsw.am13.network.socket.message.response.MsgResponseError
- All Implemented Interfaces:
Serializable
Response message that is sent to a client whenever one of his commands causes an exception
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMsgResponseError
(Exception exception) Builds a new response message with the given exception -
Method Summary
Methods inherited from class it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
getType
-
Field Details
-
exception
The exception that has been thrown
-
-
Constructor Details
-
MsgResponseError
Builds a new response message with the given exception- Parameters:
exception
- the exception that has been thrown
-
-
Method Details
-
getException
- Returns:
- the exception that has been thrown
-