PTP
Release 7.0

org.eclipse.ptp.rdt.sync.core.exceptions
Class RemoteExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException
All Implemented Interfaces:
java.io.Serializable

public class RemoteExecutionException
extends java.lang.Exception

Used for cases when a remote command fails. If it fails with an unexpected non-zero exit code, include the error message in the exception. If failure is indicated by another exception, nest the other exception and include its error message.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
RemoteExecutionException()
          Create a new instance of a RemoteExecutionException
RemoteExecutionException(java.lang.String message)
          Create a new instance of a RemoteExecutionException
RemoteExecutionException(java.lang.String message, java.lang.Throwable cause)
          Create a new instance of a RemoteExecutionException
RemoteExecutionException(java.lang.Throwable cause)
          Create a new instance of a RemoteExecutionException
 
Method Summary
 
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

RemoteExecutionException

public RemoteExecutionException()
Create a new instance of a RemoteExecutionException


RemoteExecutionException

public RemoteExecutionException(java.lang.String message)
Create a new instance of a RemoteExecutionException

Parameters:
message - detail message

RemoteExecutionException

public RemoteExecutionException(java.lang.String message,
                                java.lang.Throwable cause)
Create a new instance of a RemoteExecutionException

Parameters:
message - detail message
cause - the cause

RemoteExecutionException

public RemoteExecutionException(java.lang.Throwable cause)
Create a new instance of a RemoteExecutionException

Parameters:
cause - the cause

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.