Package org.firebirdsql.util
Class ExceptionHelper
- java.lang.Object
- 
- org.firebirdsql.util.ExceptionHelper
 
- 
 @InternalApi public final class ExceptionHelper extends java.lang.Object Helpers for exception handling- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringcollectAllMessages(java.sql.SQLException sqlException)Iterates over theSQLExceptionand concatenates all messages from the exception, its causes, and next exceptions and their causes.
 
- 
- 
- 
Method Detail- 
collectAllMessagespublic static java.lang.String collectAllMessages(java.sql.SQLException sqlException) Iterates over theSQLExceptionand 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.- Parameters:
- sqlException- starting exception
- Returns:
- All exception messages concatenated using new line
 
 
- 
 
-