SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.utils.ExceptionTools Class Reference

Utility class for handling and analyzing exceptions. More...

+ Collaboration diagram for fr.softsf.sudokufx.utils.ExceptionTools:

Static Public Member Functions

static SQLInvalidAuthorizationSpecException getSQLInvalidAuthorizationSpecException (Throwable e)
 Recursively searches for a SQLInvalidAuthorizationSpecException in the exception chain.
 

Private Member Functions

 ExceptionTools ()
 Private constructor to prevent instantiation of this utility class.
 

Detailed Description

Utility class for handling and analyzing exceptions.

This class provides methods to search for specific exception types within exception chains.

Constructor & Destructor Documentation

◆ ExceptionTools()

fr.softsf.sudokufx.utils.ExceptionTools.ExceptionTools ( )
private

Private constructor to prevent instantiation of this utility class.

Member Function Documentation

◆ getSQLInvalidAuthorizationSpecException()

static SQLInvalidAuthorizationSpecException fr.softsf.sudokufx.utils.ExceptionTools.getSQLInvalidAuthorizationSpecException ( Throwable e)
static

Recursively searches for a SQLInvalidAuthorizationSpecException in the exception chain.

This method traverses the exception hierarchy starting from the given Throwable, looking for an instance of SQLInvalidAuthorizationSpecException.

Parameters
eThe Throwable to start the search from. This can be any exception or error.
Returns
The first SQLInvalidAuthorizationSpecException found in the exception chain, or null if no such exception is found.

The documentation for this class was generated from the following file: