// Path: app/src/main/java/com/jachness/blockcalls/exceptions/PhoneNumberException.java
// public class PhoneNumberException extends Exception {
// 
//     public PhoneNumberException(String message, Throwable cause) {
//         super(message, cause);
//     }
// }
// 
// Path: app/src/main/java/com/jachness/blockcalls/exceptions/TooShortNumberException.java
// public class TooShortNumberException extends Exception {
//     public static final int MINIMUM_LENGTH = 3;
// 
//     public TooShortNumberException(String message) {
//         super(message);
//     }
// }


import com.jachness.blockcalls.exceptions.PhoneNumberException;
import com.jachness.blockcalls.exceptions.TooShortNumberException;
/*
 * Copyright (C) 2017 Jonatan Cheiro Anriquez
 *
 * This file is part of Block Calls.
 *
 * Block Calls is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Block Calls is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Block Calls. If not, see <http://www.gnu.org/licenses/>.
 */

package com.jachness.blockcalls.services;


/**
 * Created by jachness on 11/11/2016.
 */

public interface IChecker {
    int YES = 0;
    int NO = 1;
    int NONE = 2;

// Path: app/src/main/java/com/jachness/blockcalls/exceptions/PhoneNumberException.java
// public class PhoneNumberException extends Exception {
// 
//     public PhoneNumberException(String message, Throwable cause) {
//         super(message, cause);
//     }
// }
// 
// Path: app/src/main/java/com/jachness/blockcalls/exceptions/TooShortNumberException.java
// public class TooShortNumberException extends Exception {
//     public static final int MINIMUM_LENGTH = 3;
// 
//     public TooShortNumberException(String message) {
//         super(message);
//     }
// }


// Path: app/src/main/java/com/jachness/blockcalls/services/IChecker.java
import com.jachness.blockcalls.exceptions.PhoneNumberException;
import com.jachness.blockcalls.exceptions.TooShortNumberException;

/*
 * Copyright (C) 2017 Jonatan Cheiro Anriquez
 *
 * This file is part of Block Calls.
 *
 * Block Calls is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Block Calls is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Block Calls. If not, see <http://www.gnu.org/licenses/>.
 */

package com.jachness.blockcalls.services;


/**
 * Created by jachness on 11/11/2016.
 */

public interface IChecker {
    int YES = 0;
    int NO = 1;
    int NONE = 2;

    int isBlockable(Call call) throws TooShortNumberException, PhoneNumberException;