Class ClassGraphException

    • Method Detail

      • newClassGraphException

        public static ClassGraphException newClassGraphException​(String message)
        Static factory method to stop IDEs from auto-completing ClassGraphException after "new ClassGraph".
        Parameters:
        message - the message
        Returns:
        the ClassGraphException
      • newClassGraphException

        public static ClassGraphException newClassGraphException​(String message,
                                                                 Throwable cause)
                                                          throws ClassGraphException
        Static factory method to stop IDEs from auto-completing ClassGraphException after "new ClassGraph".
        Parameters:
        message - the message
        cause - the cause
        Returns:
        the ClassGraphException
        Throws:
        ClassGraphException - the class graph exception