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

com.lambdazen.bitsy.BitsyException Maven / Gradle / Ivy

Go to download

Bitsy v3 is a small, fast, embeddable, durable in-memory graph database that is compatible with Tinkerpop3

There is a newer version: 3.6.2
Show newest version
package com.lambdazen.bitsy;

public class BitsyException extends RuntimeException  {
    private static final long serialVersionUID = -5310572247323732287L;
    BitsyErrorCodes code;

    public BitsyException(BitsyErrorCodes code) {
        super(code.toString());

        this.code = code;
    }
    
    public BitsyException(BitsyErrorCodes code, String s) {
        super(code.toString() + ". " + s);

        this.code = code;
    }
    
    public BitsyException(BitsyErrorCodes code, String s, Throwable t) {
        super(code.toString() + ". " + s, t);
        
        this.code = code;
    }
    
    public BitsyErrorCodes getErrorCode() {
        return code;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy