com.stackify.api.common.http
public class StackifyErrorSender extends Object
| Constructor and Description |
|---|
StackifyErrorSender(String apiUrl,
String apiKey,
com.stackify.api.json.StackifyErrorConverter errorWriter)
Default constructor
|
public StackifyErrorSender(String apiUrl, String apiKey, com.stackify.api.json.StackifyErrorConverter errorWriter)
apiUrl - The API URLapiKey - The API keyerrorWriter - StackifyError to JSON WriterNullPointerException - If errorWriter is nullpublic int send(List<com.stackify.api.StackifyError> errors) throws IOException
errors - The errorsIOException - If an I/O exception occurs.NullPointerException - If apiUrl, apiKey, or errors is nullIllegalArgumentException - If apiUrl, apiKey, or errors is emptyCopyright © 2014 Stackify, LLC. All Rights Reserved.