public class RuntimeRemoteException
extends java.lang.RuntimeException
Vona's Utils: An unchecked wrapper for RemoteException.
The message for this exception will include the message for the wrapped
RemoteException and its detail
exception, if any.
Iff the runtime JRE is >= 1.4 then the cause
of this
exception will be the wrapped RemoteException. In any case, the wrapped
remote exception can be retrieved from remoteException
.
Copyright (C) 2005, Marsette A. Vona, III
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
cvsid
CVS id.
|
java.rmi.RemoteException |
remoteException
The wrapped remote exception.
|
Constructor and Description |
---|
RuntimeRemoteException(java.rmi.RemoteException remoteException)
Covers
RuntimeRemoteException(RemoteException) , no additional
message. |
RuntimeRemoteException(java.rmi.RemoteException remoteException,
java.lang.String msg)
Create a new RuntimeRemoteException wrapping
remoteException . |
private static final java.lang.String cvsid
CVS id.
public final java.rmi.RemoteException remoteException
The wrapped remote exception.
public RuntimeRemoteException(java.rmi.RemoteException remoteException, java.lang.String msg)
Create a new RuntimeRemoteException wrapping
remoteException
.
remoteException
- the RemoteException to wrap, not nullmsg
- the additional message, null for nonepublic RuntimeRemoteException(java.rmi.RemoteException remoteException)
Covers RuntimeRemoteException(RemoteException)
, no additional
message.