public class ClientException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_FAILED |
static String |
UNEXPECTED_MIME_TYPE |
Constructor and Description |
---|
ClientException() |
ClientException(String message) |
ClientException(String message,
String code) |
ClientException(String message,
Throwable cause) |
ClientException(String message,
Throwable cause,
String code) |
Modifier and Type | Method and Description |
---|---|
Transferable |
getAsTransferable() |
String |
getAsXML() |
String |
getCode() |
void |
write(OutputStream out)
writes a client exception XML document according to the specified
OutputStream.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String CONNECTION_FAILED
public static final String UNEXPECTED_MIME_TYPE
public ClientException()
public ClientException(String message)
public void write(OutputStream out) throws IOException
IOException
public String getAsXML()
public Transferable getAsTransferable()
public String getCode()
Copyright © 2004–2017 52north.org. All rights reserved.