package org.ovirt.engine.core.bll.provider.storage;

public class OpenStackImageException extends RuntimeException {

    public static enum ErrorType {
        UNSUPPORTED_CONTAINER_FORMAT,
        UNSUPPORTED_DISK_FORMAT,
        UNABLE_TO_DOWNLOAD_IMAGE,
        UNRECOGNIZED_IMAGE_FORMAT
    }

    private ErrorType errorType;

    public OpenStackImageException(ErrorType errorType, String message) {
        super(message);
        this.errorType = errorType;
    }

    public ErrorType getErrorType() {
        return errorType;
    }

}

@@ -111,16 +111,88 @@
 tion %7B%0A%0A
+    private static final long serialVersionUID = 8324838739774296612L;%0A%0A
     publ

Add generated serial version id for the exception