public class ServiceMayNotContinueException extends IOException
Constructor and Description |
---|
ServiceMayNotContinueException()
Initialize with no message.
|
ServiceMayNotContinueException(String msg)
Constructor for ServiceMayNotContinueException.
|
ServiceMayNotContinueException(String msg,
int statusCode)
Constructor for ServiceMayNotContinueException.
|
ServiceMayNotContinueException(String msg,
Throwable cause)
Constructor for ServiceMayNotContinueException.
|
ServiceMayNotContinueException(String msg,
Throwable cause,
int statusCode)
Constructor for ServiceMayNotContinueException.
|
ServiceMayNotContinueException(Throwable cause)
Initialize with an "internal server error" message and a cause.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
Get status code
|
boolean |
isOutput()
Whether the message was already output to the client.
|
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)
Constructor for ServiceMayNotContinueException.
msg
- a message explaining why it cannot continue. This message may
be shown to an end-user.public ServiceMayNotContinueException(String msg, int statusCode)
Constructor for ServiceMayNotContinueException.
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)
Constructor for ServiceMayNotContinueException.
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)
Constructor for ServiceMayNotContinueException.
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()
true
if the message was already output to the client.public void setOutput()
public int getStatusCode()
Copyright © 2018 Eclipse JGit Project. All rights reserved.