public final class ExceptionHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
collectAllMessages(java.sql.SQLException sqlException)
Iterates over the
SQLException and concatenates all messages from the exception, its causes, and next
exceptions and their causes. |
public static java.lang.String collectAllMessages(java.sql.SQLException sqlException)
SQLException
and concatenates all messages from the exception, its causes, and next
exceptions and their causes.
The messages are produced using Throwable.toString()
, so they include the name of the exception.
sqlException
- starting exceptionCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.