Class DbAppenderLoggingException

All Implemented Interfaces:
Serializable

public class DbAppenderLoggingException extends AppenderLoggingException
Wraps a database exception like a JDBC SQLException. Use this class to distinguish exceptions specifically caught from database layers like JDBC.
See Also:
  • Constructor Details

    • DbAppenderLoggingException

      public DbAppenderLoggingException(String format, Object... args)
      Constructs an exception with a message.
      Parameters:
      format - The reason format for the exception, see String.format(String, Object...).
      args - The reason arguments for the exception, see String.format(String, Object...).
      Since:
      2.12.1
    • DbAppenderLoggingException

      public DbAppenderLoggingException(String message, Throwable cause)
      Constructs an exception with a message and underlying cause.
      Parameters:
      message - The reason for the exception
      cause - The underlying cause of the exception
    • DbAppenderLoggingException

      public DbAppenderLoggingException(Throwable cause, String format, Object... args)
      Constructs an exception with a message.
      Parameters:
      cause - The underlying cause of the exception
      format - The reason format for the exception, see String.format(String, Object...).
      args - The reason arguments for the exception, see String.format(String, Object...).
      Since:
      2.12.1