com.sun.jini.thread
Class ReadyState.RemoteExceptionWrapper

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.


Field Summary
private static long serialVersionUID
          added for consistency; this will never be used
private  RemoteException wrapped
          the exception that will be written to the output stream
 
Constructor Summary
ReadyState.RemoteExceptionWrapper(RemoteException wrapped)
          Simple constructor
 
Method Summary
private  Object writeReplace()
          returns the exception to marshal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

Constructor Detail

ReadyState.RemoteExceptionWrapper

public ReadyState.RemoteExceptionWrapper(RemoteException wrapped)
Simple constructor

Method Detail

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.