import PrintStream from '../../java/io/PrintStream.js'; import PrintWriter from '../../java/io/PrintWriter.js'; export default interface SQLException { addSuppressed(exception: any): void; fillInStackTrace(): any; forEach(action: any): void; getCause(): any; getErrorCode(): number; getLocalizedMessage(): string; getMessage(): string; getNextException(): SQLException; getSQLState(): string; getStackTrace(): Array; getSuppressed(): Array; initCause(cause: any): any; iterator(): any; printStackTrace(): void; printStackTrace(s: PrintWriter): void; printStackTrace(s: PrintStream): void; setNextException(ex: SQLException): void; setStackTrace(stackTrace: Array): void; spliterator(): any; } export default class SQLException { static get $javaClass(): any; constructor(); constructor(reason: string); constructor(cause: any); constructor(reason: string, SQLState: string); constructor(reason: string, cause: any); constructor(reason: string, sqlState: string, cause: any); constructor(reason: string, SQLState: string, vendorCode: number); constructor(reason: string, sqlState: string, vendorCode: number, cause: any); }