fixed formatting issues and removed storing error message

merge-requests/1/head
ayyoob 8 years ago
parent c9736707ca
commit dca55c7385

@ -20,29 +20,16 @@ package org.coffeeking.connectedcup.plugin.exception;
public class ConnectedCupDeviceMgtPluginException extends Exception{ public class ConnectedCupDeviceMgtPluginException extends Exception{
private String errorMessage;
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public ConnectedCupDeviceMgtPluginException(String msg, Exception nestedEx) { public ConnectedCupDeviceMgtPluginException(String msg, Exception nestedEx) {
super(msg, nestedEx); super(msg, nestedEx);
setErrorMessage(msg);
} }
public ConnectedCupDeviceMgtPluginException(String message, Throwable cause) { public ConnectedCupDeviceMgtPluginException(String message, Throwable cause) {
super(message, cause); super(message, cause);
setErrorMessage(message);
} }
public ConnectedCupDeviceMgtPluginException(String msg) { public ConnectedCupDeviceMgtPluginException(String msg) {
super(msg); super(msg);
setErrorMessage(msg);
} }
public ConnectedCupDeviceMgtPluginException() { public ConnectedCupDeviceMgtPluginException() {

Loading…
Cancel
Save