// 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;
import java.util.Arrays;
package sortpom.parameter;



public enum VerifyFailOnType {
    XMLELEMENTS,
    STRICT;

    static VerifyFailOnType fromString(String verifyFailOn) {
        if (verifyFailOn == 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/VerifyFailOnType.java
import sortpom.exception.FailureException;
import java.util.Arrays;

package sortpom.parameter;



public enum VerifyFailOnType {
    XMLELEMENTS,
    STRICT;

    static VerifyFailOnType fromString(String verifyFailOn) {
        if (verifyFailOn == null) {
            throw new FailureException("verifyFailOn must be either xmlElements or strict. Was: null");