diff --git a/native/src/JavaPipeline.cpp b/native/src/JavaPipeline.cpp index 1439686..4e645f3 100644 --- a/native/src/JavaPipeline.cpp +++ b/native/src/JavaPipeline.cpp @@ -150,7 +150,7 @@ string PipelineExecutor::getSchema() const MetadataNode computePreview(Stage* stage) { if (!stage) - throw java_error("no valid stage in QuickInfo"); + throw java_error("No valid stage in QuickInfo"); stage->preview(); @@ -229,7 +229,7 @@ void PipelineExecutor::setLogStream(std::ostream& strm) void PipelineExecutor::setLogLevel(int level) { if (level < static_cast(LogLevel::Error) || level > static_cast(LogLevel::None)) - throw java_error("log level must be between 0 and 9!"); + throw java_error("LogLevel should be between 0 and 9"); m_logLevel = static_cast(level); setLogStream(m_logStream); diff --git a/native/src/include/JavaSetIterator.hpp b/native/src/include/JavaSetIterator.hpp index 1f76a45..4c03bc2 100644 --- a/native/src/include/JavaSetIterator.hpp +++ b/native/src/include/JavaSetIterator.hpp @@ -59,7 +59,7 @@ class JavaSetIterator { } K next() { if(!hasNext()) - throw java_error("iterator is out of bounds"); + throw java_error("Iterator is out of bounds"); return *std::next(container.begin(), curr_pos++); } diff --git a/native/src/include/JavaTriangularMeshIterator.hpp b/native/src/include/JavaTriangularMeshIterator.hpp index 1296b98..5aa0143 100644 --- a/native/src/include/JavaTriangularMeshIterator.hpp +++ b/native/src/include/JavaTriangularMeshIterator.hpp @@ -57,7 +57,7 @@ class TriangularMeshIterator { } Triangle next() { if(!hasNext()) - throw java_error("iterator is out of bounds"); + throw java_error("Iterator is out of bounds"); return *std::next(container.begin(), curr_pos++); }