Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.services.clientserver.messages
Class SystemRemoteMessageException

java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 

org.eclipse.rse.services.clientserver.messages.SystemMessageException
              extended by 
org.eclipse.rse.services.clientserver.messages.SystemRemoteMessageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RemoteFileException, SystemNetworkIOException, SystemOperationFailedException, SystemRemoteSecurityException

public class SystemRemoteMessageException
extends SystemMessageException

Base class for remote system exceptions.

All remote system exceptions are guaranteed to have a translated message retrievable via getMessage(), to make it easy to display to the user.

All child exceptions potentially contain an embedded exception that is the original exception from the remote system.

Use {#link getRemoteException()} to retrieve that wrapped exception, if any.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
SystemRemoteMessageException ( String msg, Exception remoteException)
          Constructor with a plain text message, and a wrapped exception.
SystemRemoteMessageException ( SystemMessage msg, Exception remoteException)
          Constructor with an error message for getMessage() to return, and a wrapped exception to contain.
 
Method Summary
  Exception getRemoteException ()
           
 
Methods inherited from class org.eclipse.rse.services.clientserver.messages. SystemMessageException
getSystemMessage, setSystemMessage
 
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
 

Constructor Detail

SystemRemoteMessageException

public SystemRemoteMessageException(
SystemMessage msg,
                                    
Exception remoteException)
Constructor with an error message for getMessage() to return, and a wrapped exception to contain. It is accessed via getRemoteException().

Parameters:
msg - The fully resolved message
remoteException - The exception to contain within this exception

SystemRemoteMessageException

public SystemRemoteMessageException(
String msg,
                                    
Exception remoteException)
Constructor with a plain text message, and a wrapped exception.

Parameters:
msg - The fully resolved message
remoteException - The exception to contain within this exception
Method Detail

getRemoteException

public 
Exception getRemoteException()
Returns:
the original remote exception

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire