1 package org.argeo.sync; 2 3 /** Commons exception for sync */ 4 public class SyncException extends RuntimeException { 5 private static final long serialVersionUID = -3371314343580218538L; 6 7 public SyncException(String message) { 8 super(message); 9 } 10 11 public SyncException(String message, Throwable cause) { 12 super(message, cause); 13 } 14 15 public SyncException(Object source, Object target, Throwable cause) { 16 super("Cannot sync from " + source + " to " + target, cause); 17 } 18 }