mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
741 B
Java
36 lines
741 B
Java
package com.todoroo.astrid.actfm.sync;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
/**
|
|
* Exception that wraps an exception encountered during API invocation or
|
|
* processing.
|
|
*
|
|
* @author timsu
|
|
*
|
|
*/
|
|
public class ActFmServiceException extends IOException {
|
|
|
|
private static final long serialVersionUID = -2803924196075428257L;
|
|
|
|
public ActFmServiceException(String detailMessage) {
|
|
super(detailMessage);
|
|
}
|
|
|
|
public ActFmServiceException(Throwable throwable) {
|
|
super(throwable.getMessage());
|
|
initCause(throwable);
|
|
}
|
|
|
|
public ActFmServiceException() {
|
|
super();
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return getClass().getSimpleName() + ": " + getMessage(); //$NON-NLS-1$
|
|
}
|
|
|
|
}
|