Class InformativeMain


  • public class InformativeMain
    extends java.lang.Object
    A class containing a main method which throws an Exception to cleanly indicate to the user than running the jar file was a bad idea.
    • Constructor Summary

      Constructors 
      Constructor Description
      InformativeMain()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main method which throws a PEBKACException with some basic information on how sponge works.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InformativeMain

        public InformativeMain()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws PEBKACException
        The main method which throws a PEBKACException with some basic information on how sponge works.
        Parameters:
        args - The program args
        Throws:
        PEBKACException - always