GME  13
Util.h
Go to the documentation of this file.
00001 
00023 #pragma once
00024 #include "svn_client.h"
00025 #include "apr.h"
00026 #include <string>
00027 
00032 class Util
00033 {
00034 public:
00035         static bool globalInit();
00036 
00037         static svn_error_t* preprocessPath(const char* &path, apr_pool_t* pool);
00038 
00039         static void throwNullPointerException(const char*);
00040 
00041         static void assembleErrorMessage(svn_error_t* err, int depth,
00042                                    apr_status_t parent_apr_err,
00043                                    std::string& buffer);
00044 
00045         static void handleSVNError(svn_error_t* p_err);
00046 private:
00047         Util();
00048 };