Errors

The org.orekit.errors package provides classes to generate and handle errors, based on the classical mechanism of exceptions.

Starting with version 9.3, Orekit only uses unchecked exceptions, and most functions do throw such exceptions. As they are unchecked, they are not advertised in either throws statements in the function signature or in the javadoc. So users must consider that as soon as they use any Orekit feature, an unchecked OrekitException may be thrown. In most cases, users will not attempt to recover for this but will only use them to display or log a meaningful error message.

The error messages generated are automatically translated, with the available languages being: