// Path: src/main/java/exception/FooException.java
// public class FooException extends Exception {
// 
//   public FooException() {
//     super();
//   }
// 
//   public FooException(String message) {
//     super(message);
//   }
// 
//   public FooException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public FooException(Throwable cause) {
//     super(cause);
//   }
// 
//   protected FooException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
// }


import exception.FooException;
import java.util.List;
package manual;



/**
 * Created by qianjia on 2017/1/22.
 */
public interface FooService {

  /**
   * @param names
   * @throws FooException
   */
  void insert(boolean rollback, String... names) throws FooException;

// Path: src/main/java/exception/FooException.java
// public class FooException extends Exception {
// 
//   public FooException() {
//     super();
//   }
// 
//   public FooException(String message) {
//     super(message);
//   }
// 
//   public FooException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
//   public FooException(Throwable cause) {
//     super(cause);
//   }
// 
//   protected FooException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
//     super(message, cause, enableSuppression, writableStackTrace);
//   }
// 
// }


// Path: src/main/java/manual/FooService.java
import exception.FooException;
import java.util.List;

package manual;



/**
 * Created by qianjia on 2017/1/22.
 */
public interface FooService {

  /**
   * @param names
   * @throws FooException
   */
  void insert(boolean rollback, String... names) throws FooException;

  List<String> getAll();