Class ShowAutomaticModuleNames.TerminationException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ShowAutomaticModuleNames

    private static class ShowAutomaticModuleNames.TerminationException
    extends Exception
    Throw one of these to cause the main program to terminate.
    • Field Detail

    • Constructor Detail

      • TerminationException

        public TerminationException​(@Nonnull
                                    String message)
        Constructor.
        Parameters:
        message - message describing the reason for termination
      • TerminationException

        public TerminationException​(@Nonnull
                                    String message,
                                    @Nonnull
                                    Throwable cause)
        Constructor.
        Parameters:
        message - message describing the reason for termination
        cause - a Throwable that was behind the problem