aboutsummaryrefslogtreecommitdiff
path: root/NodeOutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NodeOutput.cpp')
-rw-r--r--NodeOutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NodeOutput.cpp b/NodeOutput.cpp
index 883868d..bd30afe 100644
--- a/NodeOutput.cpp
+++ b/NodeOutput.cpp
@@ -18,7 +18,7 @@ NodeOutput * NodeOutput::clone() const {
}
void NodeOutput::setOutput(Net *) {
- throw CircuitException("NodeOutput cannot have an output");
+ throw NodeException(this, "NodeOutput cannot have an output");
}
SignalLevel NodeOutput::level() {