public class NonExistantObjectException extends NoSuchObjectException
NonExistantObjectException
is thrown if an attempt is made to
invoke a method on an object that no longer exists in the remote virtual
machine.
This class was created to preserve the cause. RemoteException prevents
initCause(Throwable cause)
from working and
java.rmi.NoSuchObjectException only has a single arg String constructor.detail
Constructor and Description |
---|
NonExistantObjectException(String s,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Throwable getCause()
getCause
in class RemoteException
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.