org.apache.mina.example.tapedeck
Class CommandSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.mina.filter.codec.ProtocolCodecException
org.apache.mina.filter.codec.ProtocolDecoderException
org.apache.mina.example.tapedeck.CommandSyntaxException
- All Implemented Interfaces:
- Serializable
public class CommandSyntaxException
- extends ProtocolDecoderException
Exception thrown by CommandDecoder
when a line cannot be decoded as
a Command
object.
- Author:
- Apache MINA Project
- See Also:
- Serialized Form
Method Summary |
String |
getMessage()
Returns the message and the hexdump of the unknown part. |
CommandSyntaxException
public CommandSyntaxException(String message)
getMessage
public String getMessage()
- Description copied from class:
ProtocolDecoderException
- Returns the message and the hexdump of the unknown part.
- Overrides:
getMessage
in class ProtocolDecoderException
Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.