Class ConnectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConnectionException
    extends OperationFailedException
    Thrown whenever connection with cache server is lost while performing an operation on an outproc cache.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionException()
      Default constructor.
      ConnectionException​(int errorCode)
      Overloaded constructor
      ConnectionException​(int errorCode, java.lang.String reason)
      Overloaded constructor
      ConnectionException​(int errorCode, java.lang.String reason, java.lang.Throwable cause)
      Overloaded constructor
      ConnectionException​(int errorCode, java.lang.String reason, java.net.InetAddress ipAddress, int port)
      Overloaded constructor
      ConnectionException​(int errorCode, java.net.InetAddress ipAddress, int port)
      Overloaded constructor
      ConnectionException​(java.lang.String reason)
      Overloaded constructor, takes the reason as parameter.
      ConnectionException​(java.lang.String reason, java.net.InetAddress ipAddress, int port)
      Overloaded constructor, takes the reason, ipAddress and port as parameter.
      ConnectionException​(java.net.InetAddress ipAddress, int port)
      Overloaded constructor, takes the ipAddress and port as parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetAddress getaddress()  
      int getport()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionException

        public ConnectionException()
        Default constructor.
      • ConnectionException

        public ConnectionException​(java.lang.String reason)
        Overloaded constructor, takes the reason as parameter.
      • ConnectionException

        public ConnectionException​(java.lang.String reason,
                                   java.net.InetAddress ipAddress,
                                   int port)
        Overloaded constructor, takes the reason, ipAddress and port as parameter.
      • ConnectionException

        public ConnectionException​(java.net.InetAddress ipAddress,
                                   int port)
        Overloaded constructor, takes the ipAddress and port as parameter.
      • ConnectionException

        public ConnectionException​(int errorCode)
        Overloaded constructor
        Parameters:
        errorCode - assigned errorcode
      • ConnectionException

        public ConnectionException​(int errorCode,
                                   java.lang.String reason)
        Overloaded constructor
        Parameters:
        errorCode - assigned errorcode
        reason - exception message
      • ConnectionException

        public ConnectionException​(int errorCode,
                                   java.lang.String reason,
                                   java.lang.Throwable cause)
        Overloaded constructor
        Parameters:
        errorCode - assigned errorcode
        reason - exception message
        cause - cause
      • ConnectionException

        public ConnectionException​(int errorCode,
                                   java.lang.String reason,
                                   java.net.InetAddress ipAddress,
                                   int port)
        Overloaded constructor
        Parameters:
        errorCode - assigned errorcode
        reason - exception message
        ipAddress -
        port -
      • ConnectionException

        public ConnectionException​(int errorCode,
                                   java.net.InetAddress ipAddress,
                                   int port)
        Overloaded constructor
        Parameters:
        errorCode - assigned errorcode
        ipAddress -
        port -
    • Method Detail

      • getaddress

        public java.net.InetAddress getaddress()
      • getport

        public int getport()