com.ibm.dbb.repository

Class ConnectionException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.dbb.repository.ConnectionException
  • All Implemented Interfaces:
    java.io.Serializable


    public class ConnectionException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ConnectionException()
      Construct a new exception without a detail message.
      ConnectionException(int statusCode)
      Construct a new exception without a detail message.
      ConnectionException(java.lang.String message)
      Constructs a new exception with the specified detail message
      ConnectionException(java.lang.String message, int statusCode)
      Constructs a new exception with the specified detail message
      ConnectionException(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      ConnectionException(java.lang.String message, java.lang.Throwable cause, int statusCode)
      Constructs a new exception with the specified detail message and cause.
      ConnectionException(java.lang.Throwable cause)
      Constructs a new exception with the specified cause.
      ConnectionException(java.lang.Throwable cause, int statusCode)
      Constructs a new exception with the specified cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getStatusCode() 
      • 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

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

      • ConnectionException

        public ConnectionException()
        Construct a new exception without a detail message.
      • ConnectionException

        public ConnectionException(int statusCode)
        Construct a new exception without a detail message.
        Parameters:
        connection - status code
      • ConnectionException

        public ConnectionException(java.lang.String message)
        Constructs a new exception with the specified detail message

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      • ConnectionException

        public ConnectionException(java.lang.String message,
                                   int statusCode)
        Constructs a new exception with the specified detail message

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        connection - status code
      • ConnectionException

        public ConnectionException(java.lang.Throwable cause)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • ConnectionException

        public ConnectionException(java.lang.Throwable cause,
                                   int statusCode)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        connection - status code
      • ConnectionException

        public ConnectionException(java.lang.String message,
                                   java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • ConnectionException

        public ConnectionException(java.lang.String message,
                                   java.lang.Throwable cause,
                                   int statusCode)
        Constructs a new exception with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        connection - status code
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Returns:
        the statusCode

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.