io.github.hcoona.concurrent.PosixErrorException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of native-named-mutex Show documentation
Show all versions of native-named-mutex Show documentation
Cross platform named mutex which provide a system-wide
mutex synchronization primitive
The newest version!
package io.github.hcoona.concurrent;
import com.sun.jna.LastErrorException;
/**
* Posix native exception.
*/
public class PosixErrorException extends LastErrorException {
/**
* @param code Error code, usually should be global variable errno
.
*/
public PosixErrorException(int code) {
super(code, LibCExt.INSTANCE.strerror(code));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy