Class FormatterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pgcodekeeper.core.database.base.formatter.FormatterException
- All Implemented Interfaces:
Serializable
Exception thrown when errors occur during SQL formatting operations.
Wraps various formatting-related errors with appropriate context.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new FormatterException with no detail message.FormatterException(String message) Constructs a new FormatterException with the specified detail message.FormatterException(String message, Throwable cause) Constructs a new FormatterException with the specified detail message and cause.FormatterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new FormatterException with full configuration options.FormatterException(Throwable cause) Constructs a new FormatterException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FormatterException
public FormatterException()Constructs a new FormatterException with no detail message. -
FormatterException
Constructs a new FormatterException with the specified detail message.- Parameters:
message- the detail message describing the formatting error
-
FormatterException
Constructs a new FormatterException with the specified cause.- Parameters:
cause- the underlying cause of the formatting error
-
FormatterException
Constructs a new FormatterException with the specified detail message and cause.- Parameters:
message- the detail message describing the formatting errorcause- 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 errorcause- the underlying cause of the formatting errorenableSuppression- whether exception suppression is enabledwritableStackTrace- whether the stack trace should be writable
-