public class ClientSessionDisposed extends Error
ClientSessionDisposed
is thrown by the
NetPhantom API or kernel in order to stop the execution of
any Java code (or NetRexx).
An application should catch instances of this class only if it
must clean up after being terminated asynchronously. If
ClientSessionDisposed
is caught by a method, it is important
that it be re-thrown so that the session actually is disposed of.
The top-level error handler does not print out a message if
ClientSessionDisposed
is never caught.
The class ClientSessionDisposed
is specifically a subclass of
Error
rather than Exception
, even though
it is a "normal occurrence", because many applications
catch all occurrences of Exception
and then discard
the exception.
Constructor and Description |
---|
ClientSessionDisposed() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.