summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java4
-rw-r--r--src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
index eb76a96..a76a04c 100644
--- a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
+++ b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
@@ -160,7 +160,7 @@ public class ApiKeysRestService {
@POST
@Path("/create")
@Consumes(MediaType.APPLICATION_JSON)
- public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException {
+ public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException {
log.info("Creating Api Key.");
try {
@@ -192,7 +192,7 @@ public class ApiKeysRestService {
@PUT
@Path("/{apiKey}")
public void updateApiKey(@PathParam("apiKey") String apiKeyName,
- ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException {
+ ApiKeyBean nsaApiKey) throws CambriaApiException {
log.info("Updating Api Key.");
try {
diff --git a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
index 85725e5..19f22d0 100644
--- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
+++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
@@ -128,7 +128,7 @@ public class ConfigTool extends CommandLineTool<ConfigToolContext>
}
catch ( ConfigDbException e )
{
- out.println ( "Command failed: " + e.getMessage() );
+ out.println ( "Command failed: " + e);
}
}