com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Class MessageDeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.MessageDeserializationException
- All Implemented Interfaces:
- Serializable
public class MessageDeserializationException
- extends Exception
This exception signals an error during message deserialization. The message
decoded before the error occurred can be queried by
getReceivedMessage().
- See Also:
- Serialized Form
- This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MessageDeserializationException
public MessageDeserializationException(String message)
- Creates a new instance.
- Parameters:
message - a string describing the deserialization error- This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
MessageDeserializationException
public MessageDeserializationException(Throwable cause,
Message msg)
- Creates a new instance.
- Parameters:
cause - the exception that occurred during deserializationmsg - the message decoded before the error occurred, or null- This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
getReceivedMessage
public Message getReceivedMessage()
- Returns the message decoded before the error occurred. Max be
null.
- Returns:
- the message decoded before the error occurred
- This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Copyright © 2019. All rights reserved.