Differences From Artifact [f4ea4c984b]:
- File src/exceptions/PGExecuteCommandFailedException.m — part of check-in [e4c8de38e0] at 2024-08-11 17:45:27 on branch trunk — Add documentation (user: js, size: 1846) [annotate] [blame] [check-ins using]
To Artifact [0f00327522]:
- File
src/exceptions/PGSQLExecuteCommandFailedException.m
— part of check-in
[77c26b4fce]
at
2024-08-11 18:00:52
on branch trunk
— Change prefix to PGSQL
Two letter prefixes are too risky to cause collisions. (user: js, size: 1864) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
12 13 14 15 16 17 18 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ | | | | | | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ #import "PGSQLExecuteCommandFailedException.h" @implementation PGSQLExecuteCommandFailedException @synthesize command = _command; + (instancetype)exceptionWithConnection: (PGSQLConnection *)connection { OF_UNRECOGNIZED_SELECTOR } + (instancetype)exceptionWithConnection: (PGSQLConnection *)connection command: (OFConstantString *)command { return [[[self alloc] initWithConnection: connection command: command] autorelease]; } - (instancetype)initWithConnection: (PGSQLConnection *)connection { OF_INVALID_INIT_METHOD } - (instancetype)initWithConnection: (PGSQLConnection *)connection command: (OFConstantString *)command { self = [super initWithConnection: connection]; @try { _command = [command copy]; } @catch (id e) { |
︙ | ︙ |