Class FormatterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pgcodekeeper.core.formatter.FormatterException
All Implemented Interfaces:
Serializable

public class FormatterException extends Exception
Exception thrown when errors occur during SQL formatting operations. Wraps various formatting-related errors with appropriate context.
See Also:
  • Constructor Details

    • FormatterException

      public FormatterException()
      Constructs a new FormatterException with no detail message.
    • FormatterException

      public FormatterException(String message)
      Constructs a new FormatterException with the specified detail message.
      Parameters:
      message - the detail message describing the formatting error
    • FormatterException

      public FormatterException(Throwable cause)
      Constructs a new FormatterException with the specified cause.
      Parameters:
      cause - the underlying cause of the formatting error
    • FormatterException

      public FormatterException(String message, Throwable cause)
      Constructs a new FormatterException with the specified detail message and cause.
      Parameters:
      message - the detail message describing the formatting error
      cause - the underlying cause of the formatting error
    • FormatterException

      public FormatterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a new FormatterException with full configuration options.
      Parameters:
      message - the detail message describing the formatting error
      cause - the underlying cause of the formatting error
      enableSuppression - whether exception suppression is enabled
      writableStackTrace - whether the stack trace should be writable