import java.io.IOException;
+import org.eclipse.jgit.internal.JGitText;
+
/**
* Indicates a transport service may not continue execution.
*
super(msg);
}
+ /**
+ * @param msg
+ * a message explaining why it cannot continue. This message may
+ * be shown to an end-user.
+ * @param cause
+ * the cause of the exception.
+ */
+ public ServiceMayNotContinueException(String msg, Throwable cause) {
+ super(msg, cause);
+ }
+
+ /**
+ * Initialize with an "internal server error" message and a cause.
+ *
+ * @param cause
+ * the cause of the exception.
+ */
+ public ServiceMayNotContinueException(Throwable cause) {
+ super(JGitText.get().internalServerError, cause);
+ }
+
/** @return true if the message was already output to the client. */
public boolean isOutput() {
return output;