Class DatabaseDuplicationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseDuplicationException
    extends DatabaseException
    Is thrown if an entry already exists.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseDuplicationException​(java.lang.String message)
      Is thrown if the an entry already exists.
      DatabaseDuplicationException​(java.lang.String message, java.lang.Exception exception)
      Is thrown if the an entry already exists.
    • 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

      • DatabaseDuplicationException

        public DatabaseDuplicationException​(java.lang.String message)
        Is thrown if the an entry already exists.
        Parameters:
        message - error message
      • DatabaseDuplicationException

        public DatabaseDuplicationException​(java.lang.String message,
                                            java.lang.Exception exception)
        Is thrown if the an entry already exists.
        Parameters:
        message - error message
        exception - the wrapped exception