Package com.teamdev.jxbrowser.engine
Class ChromiumProcessStartupFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.teamdev.jxbrowser.engine.EngineInitializationException
com.teamdev.jxbrowser.engine.ChromiumProcessStartupFailureException
- All Implemented Interfaces:
Serializable
Thrown when startup of the Chromium process has been failed.
Antivirus software installed in the environment can prevent the Chromium process from starting up, or it may crash immediately after startup during Engine initialization. This exception is thrown in such cases.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new instance of theChromiumProcessStartupFailureException
.ChromiumProcessStartupFailureException
(int exitCode) Constructs aChromiumProcessStartupFailureException
with the given exit code.Constructs aChromiumProcessStartupFailureException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChromiumProcessStartupFailureException
public ChromiumProcessStartupFailureException()Constructs a new instance of theChromiumProcessStartupFailureException
. -
ChromiumProcessStartupFailureException
public ChromiumProcessStartupFailureException(int exitCode) Constructs aChromiumProcessStartupFailureException
with the given exit code.- Parameters:
exitCode
- the code returned by the Chromium process
-
ChromiumProcessStartupFailureException
Constructs aChromiumProcessStartupFailureException
with the specified cause.- Parameters:
cause
- the cause
-