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

com.dimajix.flowman.grpc.RemoteException Maven / Gradle / Ivy

The newest version!
package com.dimajix.flowman.grpc;

public class RemoteException extends RuntimeException {
    private final String declaredClass;

    public RemoteException(String declaredClass, String message) {
        super(message, null, true, true);

        this.declaredClass = declaredClass;
    }

    public RemoteException(String declaredClass, String message, Throwable cause) {
        super(message, cause, true, true);

        this.declaredClass = declaredClass;
    }

    public String getDeclaredClass() {
        return declaredClass;
    }

    @Override
    public String toString() {
        String s = declaredClass;
        String message = this.getLocalizedMessage();
        return message != null ? s + ": " + message : s;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy