org.eclipse.jgit.transport
Class ServiceMayNotContinueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.eclipse.jgit.transport.ServiceMayNotContinueException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UploadPackMayNotContinueException

public class ServiceMayNotContinueException
extends IOException

Indicates a transport service may not continue execution.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
ServiceMayNotContinueException()
          Initialize with no message.
ServiceMayNotContinueException(String msg)
           
 
Method Summary
 boolean isOutput()
           
 void setOutput()
          Mark this message has being sent to the client.
 
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

ServiceMayNotContinueException

public ServiceMayNotContinueException()
Initialize with no message.


ServiceMayNotContinueException

public ServiceMayNotContinueException(String msg)
Parameters:
msg - a message explaining why it cannot continue. This message may be shown to an end-user.
Method Detail

isOutput

public boolean isOutput()
Returns:
true if the message was already output to the client.

setOutput

public void setOutput()
Mark this message has being sent to the client.



Copyright © 2012. All Rights Reserved.