Commit 588e4cd6 authored by Claire Sery's avatar Claire Sery
Browse files

Missing throw exception in implementation

parent 1ffd0383
......@@ -53,7 +53,7 @@ VtkImageComponent::VtkImageComponent(const QString& fileName) throw(AbortExcepti
}
// -------------------- createComponent --------------------
void VtkImageComponent::createComponent(const QString& filename) {
void VtkImageComponent::createComponent(const QString& filename) throw (camitk::AbortException) {
if (!filename.isNull()) {
try {
// create the ImageComponent (it will register it self in the list of Components)
......
......@@ -49,7 +49,7 @@ public:
virtual ~VtkImageComponent() {}
/// actually create the component from the file
virtual void createComponent(const QString&);
virtual void createComponent(const QString&) throw (camitk::AbortException);
private:
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment