public class IpcException
extends java.lang.Exception
| Constructor and Description |
|---|
IpcException(java.lang.String message)
constructur with message.
|
IpcException(java.lang.String message,
java.lang.Throwable cause)
constructur with mesage and causing exception.
|
IpcException(java.lang.Throwable cause)
constructur with causing exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(IpcStreamWriter writer)
Writes the JsonException as a JSON object to the given OutputStream.
|
static void |
write(IpcStreamWriter writer,
java.lang.Throwable ex)
Writes an Exception as a JSON object to the given OutputStream.
|
public IpcException(java.lang.String message)
message - detailed error message.public IpcException(java.lang.Throwable cause)
cause - exception that caused the error.public IpcException(java.lang.String message,
java.lang.Throwable cause)
message - detailed error message.cause - exception that caused the error.public void write(IpcStreamWriter writer) throws java.io.IOException
writer - the IpcStreamWriter contains an OutputStream to write tojava.io.IOException - if any error occusrpublic static void write(IpcStreamWriter writer, java.lang.Throwable ex) throws java.io.IOException
writer - the IpcStreamWriter contains an OutputStreamex - the exception to writejava.io.IOException - if any error occusr