com.h3c.util.persistence.exceptions

## Class PersistenceConnException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.h3c.util.persistence.exceptions.PersistenceConnException

- All Implemented Interfaces:
    Serializable

      public class PersistenceConnException
      extends Exception

  Persistence layer Connection Exception class. It does not matter what the implementation of persistence layer is. If we cannot connect to the database, we throw this exception.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersistenceConnException(Exception e)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMessage()` Get the Exception message.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PersistenceConnException

          public PersistenceConnException(Exception e)

      Constructor
      Parameters:
        `e` - The exception that was thrown by underlying layers.

  - ### Method Detail

    - #### getMessage

          public String getMessage()

      Get the Exception message.
      Overrides:
        `getMessage` in class `Throwable`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

Copyright © 2014. All Rights Reserved.