Class PortScanner.EventException

All Implemented Interfaces:
Serializable
Enclosing class:
PortScanner

public static class PortScanner.EventException extends RuntimeException
Event exception that contains a list of causing exceptions during port scanning.
See Also:
  • Constructor Details

    • EventException

      public EventException(String msg, List<Exception> exceptions)
      Creates a new event exception.
      Parameters:
      msg - exception message
      exceptions - exceptions causing this exception
    • EventException

      public EventException(String msg, Exception... exceptions)
      Creates a new event exception.
      Parameters:
      msg - exception message
      exceptions - exceptions causing this exception
  • Method Details

    • getExceptions

      public List<Exception> getExceptions()
      Returns a list of causing exceptions.
      Returns:
      list of causing exceptions