com.h3c.util.persistence.exceptions

## Class PersistenceException

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

- All Implemented Interfaces:
    Serializable

      public class PersistenceException
      extends Exception

  Persistence exception definition for Cassandra implementation. Any persistence data operation should return this exception. The real exception reason will be encapsulated with in this exception and can be used in need
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersistenceException(Exception exception)`
    `PersistenceException(LockServiceException lockException)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Exception` | `getException()`
    `String` | `getMessage()`
    `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

    - #### PersistenceException

          public PersistenceException(LockServiceException lockException)

    - #### PersistenceException

          public PersistenceException(Exception exception)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

    - #### getMessage

          public String getMessage()

      Overrides:
        `getMessage` in class `Throwable`

    - #### getException

          public Exception getException()

Copyright © 2014. All Rights Reserved.