io.odysz.semantics.x.ExchangeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of semantic.DA Show documentation
Show all versions of semantic.DA Show documentation
JDBC Data Access with Semantics Support
package io.odysz.semantics.x;
import io.odysz.semantic.syn.Exchanging;
import io.odysz.semantic.syn.ExessionPersist;
@SuppressWarnings("serial")
public class ExchangeException extends SemanticException {
protected Exchanging exstep;
public ExessionPersist persist;
public ExchangeException(Exchanging expecting, ExessionPersist xp, String format, Object... args) {
super(format, args);
this.exstep = expecting;
this.persist = xp;
}
public ExchangeException(int expect, ExessionPersist xp, String format, Object... args) {
super(format, args);
this.exstep = new Exchanging(Exchanging.mode_client);
this.exstep.state = expect;
this.persist = xp;
}
public int requires() {
return exstep.state;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy