From 9818e55d8d240314fa05f76ba8b7c9ed5ba43d00 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 8 Jul 2009 00:22:16 +0000 Subject: - Ensure that error IDs are available from CMMCPConnection after connection or database selection problems - Detect connection errors due to "Access denied" problems and show a clearer, more appropriate error message --- Source/SPConnectionController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPConnectionController.h') diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index ad61cfa8..03245d26 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -111,7 +111,7 @@ enum spconnection_types - (void)initiateSSHTunnelConnection; - (void)sshTunnelCallback:(SPSSHTunnel *)theTunnel; - (void)initiateMySQLConnection; -- (void)failConnectionWithErrorMessage:(NSString *)theErrorMessage withDetail:(NSString *)errorDetail; +- (void)failConnectionWithTitle:(NSString *)theTitle errorMessage:(NSString *)theErrorMessage detail:(NSString *)errorDetail; - (void)errorSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; - (void) addConnectionToDocument; -- cgit v1.2.3