Class RuggedException

  • All Implemented Interfaces:
    Serializable, LocalizedException

    public class RuggedException
    extends RuntimeException
    implements LocalizedException
    This class is the base class for all specific exceptions thrown by the rugged library classes.

    This class is heavily based on OrekitException, which is distributed under the terms of the Apache License V2.

    Author:
    Luc Maisonobe, Guylaine Prat
    See Also:
    Serialized Form
    • Constructor Detail

      • RuggedException

        public RuggedException​(Localizable specifier,
                               Object... parts)
        Simple constructor. Build an exception with a translated and formatted message
        Parameters:
        specifier - format specifier (to be translated)
        parts - parts to insert in the format (no translation)
      • RuggedException

        public RuggedException​(Throwable cause,
                               Localizable specifier,
                               Object... parts)
        Simple constructor. Build an exception from a cause and with a translated and formatted message
        Parameters:
        cause - underlying cause
        specifier - format specifier (to be translated)
        parts - parts to insert in the format (no translation)