Index: src/exceptions/SL3Exception.h ================================================================== --- src/exceptions/SL3Exception.h +++ src/exceptions/SL3Exception.h @@ -46,12 +46,12 @@ + (instancetype)exception OF_UNAVAILABLE; /** * @brief Creates a new SQLite3 exception. * - * @param connection The connection for which the exception occurred. - * @param errorCode The SQLite3 error code. + * @param connection The connection for which the exception occurred + * @param errorCode The SQLite3 error code * @return A new, autoreleased SQLite3 exception */ + (instancetype)exceptionWithConnection: (nullable SL3Connection *)connection errorCode: (int)errorCode; @@ -58,14 +58,14 @@ - (instancetype)init OF_UNAVAILABLE; /** * @brief Initializes an already allocated SQLite3 exception. * - * @param connection The connection for which the exception occurred. - * @param errorCode The SQLite3 error code. + * @param connection The connection for which the exception occurred + * @param errorCode The SQLite3 error code * @return An initialized SQLite3 exception */ - (instancetype)initWithConnection: (nullable SL3Connection *)connection errorCode: (int)errorCode OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END