Rename SL3Statement -> SL3PreparedStatement

FossilOrigin-Name: 4fc7a99ac98531e4bc6252a53c4a08277e32c62c01fa7593c1d0f24001d974fe
This commit is contained in:
Jonathan Schleifer 2020-10-01 21:16:18 +00:00
parent b5c94b74db
commit b1edabd532
13 changed files with 38 additions and 37 deletions

View file

@ -22,24 +22,24 @@
#import "SL3Exception.h"
#import "SL3Statement.h"
#import "SL3PreparedStatement.h"
OF_ASSUME_NONNULL_BEGIN
@interface SL3ResetStatementFailedException: SL3Exception
{
SL3Statement *_statement;
SL3PreparedStatement *_statement;
}
@property (readonly, nonatomic) SL3Statement *statement;
@property (readonly, nonatomic) SL3PreparedStatement *statement;
+ (instancetype)exceptionWithConnection: (nullable SL3Connection *)connection
errorCode: (int)errorCode OF_UNAVAILABLE;
+ (instancetype)exceptionWithStatement: (SL3Statement *)statement
+ (instancetype)exceptionWithStatement: (SL3PreparedStatement *)statement
errorCode: (int)errorCode;
- (instancetype)initWithConnection: (nullable SL3Connection *)connection
errorCode: (int)errorCode OF_UNAVAILABLE;
- (instancetype)initWithStatement: (SL3Statement *)statement
- (instancetype)initWithStatement: (SL3PreparedStatement *)statement
errorCode: (int)errorCode OF_DESIGNATED_INITIALIZER;
@end