All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.sdk.exception.SchemaProcessingException Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
package org.openmetadata.sdk.exception;

import lombok.Getter;

@Getter
public class SchemaProcessingException extends Exception {
  public enum ErrorType {
    RESOURCE_NOT_FOUND,
    UNSUPPORTED_URL,
    OTHER
  }

  private final ErrorType errorType;

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

  public SchemaProcessingException(String message, Throwable cause, ErrorType errorType) {
    super(message, cause);
    this.errorType = errorType;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy