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

org.bridj.NativeError Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
package org.bridj;

import static org.bridj.SignalConstants.*;
import static java.lang.Long.toHexString;
/**
 * Native error encapsulated as a Java error.
 * @author ochafik
 */
public abstract class NativeError extends Error {
    protected NativeError(String message) {
        super(message);
    }
    static String toHex(long address) {
        return "0x" + Long.toHexString(address);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy