com.sun.jini.thread
Class ReadyState.RemoteExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jini.thread.ReadyState.RemoteExceptionWrapper
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ReadyState
private static class ReadyState.RemoteExceptionWrapper
- extends RuntimeException
Wrapper used to prevent a RemoteException
from being
wrapped in a ServerException
by the RMI implementation.
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- added for consistency; this will never be used
- See Also:
- Constant Field Values
wrapped
private final RemoteException wrapped
- the exception that will be written to the output stream
ReadyState.RemoteExceptionWrapper
public ReadyState.RemoteExceptionWrapper(RemoteException wrapped)
- Simple constructor
writeReplace
private Object writeReplace()
- returns the exception to marshal
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.