Class AbstractLoader.LoggingErrorHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.PrintStream out  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingErrorHandler​(java.io.PrintStream out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void classNotFound​(java.lang.String name)
      Called whenever, trying to retrieve a candidate class from its name, a ClassNotFoundException is thrown
      • Methods inherited from class java.lang.Object

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

      • out

        private final java.io.PrintStream out
    • Constructor Detail

      • LoggingErrorHandler

        public LoggingErrorHandler​(java.io.PrintStream out)
        Parameters:
        out - Stream in which to log
    • Method Detail

      • classNotFound

        public void classNotFound​(java.lang.String name)
        Description copied from interface: AbstractLoader.ErrorHandler
        Called whenever, trying to retrieve a candidate class from its name, a ClassNotFoundException is thrown
        Specified by:
        classNotFound in interface AbstractLoader.ErrorHandler
        Parameters:
        name - Candidate class name