com.kuka.comm.codec
Class EncoderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.kuka.comm.ConnectionException
com.kuka.comm.codec.CodecException
com.kuka.comm.codec.EncoderException
- All Implemented Interfaces:
- Serializable
public class EncoderException
- extends CodecException
An exception which can occur during encoding.
Reason for this exception could be:
- Empty message to encode
- Incomplete or corrupted message
- Output cannot add encoded messages
- See Also:
Encoder,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
EncoderException
public EncoderException(String message)
- Constructor with a string stating the reason for this exception.
- Parameters:
message - The reason for this exception.
EncoderException
public EncoderException(String message,
Throwable cause)
- Constructor with a
String stating the reason for this exception and a Throwable stating the
cause.
- Parameters:
message - The reason for this exception as string representation.cause - An instance of Throwable for further access to the thrown Exception.
Copyright © 2019. All rights reserved.