
org.cryptomator.windows.common.WindowsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integrations-win Show documentation
Show all versions of integrations-win Show documentation
Provides optional Windows services used by Cryptomator
The newest version!
package org.cryptomator.windows.common;
public class WindowsException extends Exception {
private final int systemErrorCode;
public WindowsException(String method, int systemErrorCode) {
super("Method %s returned system error code %d".formatted(method, systemErrorCode));
this.systemErrorCode = systemErrorCode;
}
public int getSystemErrorCode() {
return systemErrorCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy