Tidying
This commit is contained in:
@@ -7,12 +7,12 @@ namespace Exceptions
|
|||||||
class TargetOperationFailure: public Exception
|
class TargetOperationFailure: public Exception
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit TargetOperationFailure(const std::string& message): Exception(message) {
|
explicit TargetOperationFailure(const std::string& message)
|
||||||
this->message = message;
|
: Exception(message)
|
||||||
}
|
{}
|
||||||
|
|
||||||
explicit TargetOperationFailure(const char* message): Exception(message) {
|
explicit TargetOperationFailure(const char* message)
|
||||||
this->message = std::string(message);
|
: Exception(message)
|
||||||
}
|
{}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ namespace Exceptions
|
|||||||
class DebugWirePhysicalInterfaceError: public TargetOperationFailure
|
class DebugWirePhysicalInterfaceError: public TargetOperationFailure
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit DebugWirePhysicalInterfaceError(const std::string& message): TargetOperationFailure(message) {
|
explicit DebugWirePhysicalInterfaceError(const std::string& message)
|
||||||
this->message = message;
|
: TargetOperationFailure(message)
|
||||||
}
|
{}
|
||||||
|
|
||||||
explicit DebugWirePhysicalInterfaceError(const char* message): TargetOperationFailure(message) {
|
explicit DebugWirePhysicalInterfaceError(const char* message)
|
||||||
this->message = std::string(message);
|
: TargetOperationFailure(message)
|
||||||
}
|
{}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user