Class InvalidMessageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidMessageException
    extends TransportProtocolException

    Thrown by SshMessage implementations when an invalid message is found.

    Since:
    0.2.0
    Version:
    $Revision: 1.19 $
    Author:
    Lee David Painter
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidMessageException​(java.lang.String msg)
      Constructs the message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • InvalidMessageException

        public InvalidMessageException​(java.lang.String msg)

        Constructs the message.

        Parameters:
        msg - the error description
        Since:
        0.2.0