com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Class MessageDeserializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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.

Constructor Summary
MessageDeserializationException(String message)
          Creates a new instance.
MessageDeserializationException(Throwable cause, Message msg)
          Creates a new instance.
 
Method Summary
 Message getReceivedMessage()
          Returns the message decoded before the error occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 deserialization
msg - 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.
Method Detail

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.