public class ServiceMayNotContinueException extends IOException
Constructor and Description |
---|
ServiceMayNotContinueException()
Initialize with no message.
|
ServiceMayNotContinueException(String msg) |
ServiceMayNotContinueException(String msg,
int statusCode) |
ServiceMayNotContinueException(String msg,
Throwable cause) |
ServiceMayNotContinueException(String msg,
Throwable cause,
int statusCode) |
ServiceMayNotContinueException(Throwable cause)
Initialize with an "internal server error" message and a cause.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
boolean |
isOutput() |
void |
setOutput()
Mark this message has being sent to the client.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceMayNotContinueException()
public ServiceMayNotContinueException(String msg)
msg
- a message explaining why it cannot continue. This message may
be shown to an end-user.public ServiceMayNotContinueException(String msg, int statusCode)
msg
- a message explaining why it cannot continue. This message may
be shown to an end-user.statusCode
- the HTTP status code.public ServiceMayNotContinueException(String msg, Throwable cause)
msg
- a message explaining why it cannot continue. This message may
be shown to an end-user.cause
- the cause of the exception.public ServiceMayNotContinueException(String msg, Throwable cause, int statusCode)
msg
- a message explaining why it cannot continue. This message may
be shown to an end-user.cause
- the cause of the exception.statusCode
- the HTTP status code.public ServiceMayNotContinueException(Throwable cause)
cause
- the cause of the exception.public boolean isOutput()
public void setOutput()
public int getStatusCode()
Copyright © 2017 Eclipse JGit Project. All rights reserved.