summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/components/validation/ValidationException.java
blob: 8abf2f7d631b1267f86db275c8b23bff8f60d2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.openecomp.sdc.be.components.validation;

import org.openecomp.sdc.exception.ResponseFormat;

/**
 * Created by chaya on 10/18/2017.
 */
public class ValidationException extends RuntimeException {

    private transient ResponseFormat exceptionResponseFormat;

    public ValidationException(ResponseFormat exceptionResponseFormat) {
        super();
        this.exceptionResponseFormat = exceptionResponseFormat;
    }

    public ResponseFormat getExceptionResponseFormat() {
        return exceptionResponseFormat;
    }

}