Removed redundant 'Bloom' namespace from entire codebase
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* In the event that communication between the GDB RSP client and Bloom fails, a ClientCommunicationFailure
|
||||
@@ -10,15 +10,15 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
*
|
||||
* See GdbRspDebugServer::serve() for handling code.
|
||||
*/
|
||||
class ClientCommunicationError: public Bloom::Exceptions::Exception
|
||||
class ClientCommunicationError: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientCommunicationError(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientCommunicationError(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientCommunicationError() = default;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* When a GDB RSP client unexpectedly drops the connection in the middle of an IO operation, a ClientDisconnected
|
||||
@@ -11,7 +11,7 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
*
|
||||
* See GdbRspDebugServer::serve() for handling code.
|
||||
*/
|
||||
class ClientDisconnected: public Bloom::Exceptions::Exception
|
||||
class ClientDisconnected: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientDisconnected() = default;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* In the event that the GDB debug server determines that the connected client cannot be served,
|
||||
@@ -10,15 +10,15 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
*
|
||||
* See GdbRspDebugServer::serve() for handling code.
|
||||
*/
|
||||
class ClientNotSupported: public Bloom::Exceptions::Exception
|
||||
class ClientNotSupported: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientNotSupported(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientNotSupported(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientNotSupported() = default;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* The GDB debug server spends most of its time in a blocking state, waiting for a new connection or for some data
|
||||
@@ -13,7 +13,7 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
* For more on how the GDB server implementation allows for interruptions, see the "Servicing events" section in
|
||||
* src/DebugServer/README.md.
|
||||
*/
|
||||
class DebugServerInterrupted: public Bloom::Exceptions::Exception
|
||||
class DebugServerInterrupted: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit DebugServerInterrupted() = default;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* The GDB server may fail to prepare for a debug session, if an internal error occurs. One circumstance where
|
||||
@@ -10,15 +10,15 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
*
|
||||
* See GdbRspDebugServer::serve() for handling code.
|
||||
*/
|
||||
class DebugSessionInitialisationFailure: public Bloom::Exceptions::Exception
|
||||
class DebugSessionInitialisationFailure: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit DebugSessionInitialisationFailure(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit DebugSessionInitialisationFailure(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit DebugSessionInitialisationFailure() = default;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "src/Exceptions/Exception.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
namespace DebugServer::Gdb::Exceptions
|
||||
{
|
||||
/**
|
||||
* For GDB monitor commands, each command can define a set of required/optional command options.
|
||||
@@ -10,15 +10,15 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
*
|
||||
* This exception is typically thrown and caught within the handling of monitor commands.
|
||||
*/
|
||||
class InvalidCommandOption: public Bloom::Exceptions::Exception
|
||||
class InvalidCommandOption: public ::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit InvalidCommandOption(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit InvalidCommandOption(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
: ::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit InvalidCommandOption() = default;
|
||||
|
||||
Reference in New Issue
Block a user