Class ConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jbstrap.core.dao.exception.ConnectionException
All Implemented Interfaces:
Serializable

public class ConnectionException extends Exception
Exception that can occur during the commit/rollBack database operation
Since:
4.0
Author:
JBStrap
See Also:
  • Constructor Details

    • ConnectionException

      public ConnectionException(String exceptionMessageKey, Object... args)
      Throws a connection exception. The database connection error is thrown, when an error is encountered during the commit/rollback. The error message is created, based on the message parameters and the message key. The stack trace originates from the error that is specified in the parameter.
      Parameters:
      exceptionMessageKey - The error message key, which is a message source key
      args - Error message parameters (message source message arguments)
  • Method Details

    • getExceptionMessageKey

      public String getExceptionMessageKey()
      Gets the exception message source key
      Returns:
      The exception message key