// Path: sorter/src/main/java/sortpom/exception/FailureException.java
// public class FailureException extends RuntimeException {
//     public FailureException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// 
//     public FailureException(String msg) {
//         super(msg);
//     }
// }


import sortpom.exception.FailureException;
package sortpom.parameter;


/**
 * @author bjorn
 * @since 2012-08-11
 */
public enum VerifyFailType {
    SORT, WARN, STOP;

    static VerifyFailType fromString(String verifyFail) {
        if (verifyFail == null) {
// Path: sorter/src/main/java/sortpom/exception/FailureException.java
// public class FailureException extends RuntimeException {
//     public FailureException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// 
//     public FailureException(String msg) {
//         super(msg);
//     }
// }


// Path: sorter/src/main/java/sortpom/parameter/VerifyFailType.java
import sortpom.exception.FailureException;

package sortpom.parameter;


/**
 * @author bjorn
 * @since 2012-08-11
 */
public enum VerifyFailType {
    SORT, WARN, STOP;

    static VerifyFailType fromString(String verifyFail) {
        if (verifyFail == null) {
            throw new FailureException("verifyFail must be either SORT, WARN or STOP. Was: null");