super(msg);
}
+ /**
+ * Constructs an instance of <code>PaintExeception</code> with the specified
+ * detail message and cause.
+ *
+ * @param msg
+ * the detail message.
+ * @param cause
+ * the cause
+ */
+ public PaintException(String msg, Throwable cause) {
+ super(msg, cause);
+ }
+
/**
* Constructs an instance of <code>PaintExeception</code> from IOException.
*
"Failed to serialize shared state for connector "
+ connector.getClass().getName() + " ("
+ connector.getConnectorId() + "): "
- + e.getMessage());
+ + e.getMessage(), e);
}
}
}
throw new PaintException(
"Failed to send connector type for connector "
+ connector.getConnectorId() + ": "
- + e.getMessage());
+ + e.getMessage(), e);
}
}
outWriter.print("\"types\":");
throw new PaintException(
"Failed to send hierarchy information about "
+ parentConnectorId + " to the client: "
- + e.getMessage());
+ + e.getMessage(), e);
}
}
}
+ invocation.getConnector().getConnectorId()
+ " method " + invocation.getInterfaceName()
+ "." + invocation.getMethodName() + ": "
- + e.getMessage());
+ + e.getMessage(), e);
}
}