Package eu.mihosoft.devcom
Class PortScanner.EventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.mihosoft.devcom.PortScanner.EventException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PortScanner
Event exception that contains a list of causing exceptions during port scanning.
- See Also:
-
Constructor Summary
ConstructorDescriptionEventException
(String msg, Exception... exceptions) Creates a new event exception.EventException
(String msg, List<Exception> exceptions) Creates a new event exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of causing exceptions.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventException
Creates a new event exception.- Parameters:
msg
- exception messageexceptions
- exceptions causing this exception
-
EventException
Creates a new event exception.- Parameters:
msg
- exception messageexceptions
- exceptions causing this exception
-
-
Method Details
-
getExceptions
Returns a list of causing exceptions.- Returns:
- list of causing exceptions
-