index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/h2o/h2o-persist-s3/3.46.0.7/water
java-sources/ai/h2o/h2o-persist-s3/3.46.0.7/water/persist/RegisterRestApi.java
package water.persist; import water.api.AbstractRegister; import water.api.RestApiContext; public class RegisterRestApi extends AbstractRegister { @Override public void registerEndPoints(RestApiContext context) { context.registerEndpoint("set_s3_credentials", "POST /3/PersistS3", PersistS3Handler.cla...
0
java-sources/ai/h2o/h2o-security/3.46.0.7/water
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network/SecurityUtils.java
package water.network; import water.network.util.ExternalKeytool; import water.network.util.JavaVersionUtils; import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.security.*; import java.util.Properties; public class SecurityUtils { private static final SecureRandom RANDOM = new ...
0
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network/util/ExternalKeytool.java
package water.network.util; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.Executors; public class ExternalKeytool { public static void main(String[] args) throws Exception { String javaHome = System.getProperty("java.home"); ...
0
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network/util/JavaVersionUtils.java
package water.network.util; import java.util.regex.Matcher; import java.util.regex.Pattern; public class JavaVersionUtils { private static final int UNKNOWN = -1; public static int getMajorVersion() { return parseMajor(System.getProperty("java.version")); } private static int parseMajor(Stri...
0
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network
java-sources/ai/h2o/h2o-security/3.46.0.7/water/network/util/StreamGobbler.java
package water.network.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; class StreamGobbler implements Runnable { private final InputStream _is; StreamGobbler(InputStream is) { _is = is; } @Override public void run() { new Buffere...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/TestFrameCatalog.java
package water; import org.junit.Ignore; import water.fvec.Frame; import water.fvec.TestFrameBuilder; import water.fvec.Vec; import java.util.UUID; import static water.TestUtil.*; @Ignore // prepackaged small H2O Frames public class TestFrameCatalog { public static Frame oneChunkFewRows() { return new TestFra...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/TestUtil.java
package water; import Jama.Matrix; import hex.CreateFrame; import hex.Model; import hex.SplitFrame; import hex.genmodel.GenModel; import hex.genmodel.ModelMojoReader; import hex.genmodel.MojoReaderBackend; import hex.genmodel.MojoReaderBackendFactory; import hex.genmodel.easy.RowData; import org.junit.AfterClass; impo...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/TestUtilTest.java
package water; import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import water.fvec.Frame; import water.fvec.TestFrameBuilder; import water.fvec.Vec; import java.io.File; import java.io.IOException; import static org.junit.Asse...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/fvec/FVecFactory.java
package water.fvec; import water.*; import water.util.StringUtils; public class FVecFactory { public static Key makeByteVec(Key k, String... data) { byte [][] chunks = new byte[data.length][]; long [] espc = new long[data.length+1]; for(int i = 0; i < chunks.length; ++i){ chun...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/fvec/FrameTestUtil.java
package water.fvec; import hex.CreateFrame; import org.junit.Assert; import org.junit.Ignore; import water.DKV; import water.Key; import water.MRTask; import water.parser.BufferedString; import water.util.Log; import java.util.ArrayList; import java.util.Arrays; /** * Methods to access frame internals. */ @Ignore(...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/fvec/TestFrameBuilder.java
package water.fvec; import org.junit.Ignore; import water.DKV; import water.Key; import water.Scope; import water.rapids.Env; import water.rapids.Session; import water.util.ArrayUtils; import java.util.*; import java.util.function.Function; import java.util.stream.Collectors; import java.util.stream.IntStream; import...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/fvec/TestFrameBuilderTest.java
package water.fvec; import org.junit.BeforeClass; import org.junit.Test; import water.Scope; import water.TestUtil; import water.parser.BufferedString; import water.util.ArrayUtils; import water.util.FrameUtils; import water.util.VecUtils; import java.util.UUID; import static org.junit.Assert.*; public class TestFr...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/fvec/VecHelper.java
package water.fvec; import org.junit.Ignore; import water.Value; @Ignore // no actual test here: helps some tests to access package-private API of water.fvec.Vec public class VecHelper { public static Value vecChunkIdx(Vec v, int cidx) { return v.chunkIdx(cidx); } }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/H2OTestRunner.java
package water.junit; import org.junit.Ignore; import org.junit.internal.JUnitSystem; import org.junit.internal.RealSystem; import org.junit.internal.TextListener; import org.junit.runner.Description; import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; impor...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/Priority.java
package water.junit; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.*; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Target({FIELD, METHOD, TYPE, TYPE_USE}) public @interface Priority { int value(); }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/XMLTestReporter.java
package water.junit; import org.apache.commons.lang.StringEscapeUtils; import org.junit.Ignore; import org.junit.runner.Description; import org.junit.runner.Result; import org.junit.runner.notification.Failure; import org.junit.runner.notification.RunListener; import org.w3c.dom.Document; import org.w3c.dom.Element; i...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/CheckLeakedKeysRule.java
package water.junit.rules; import org.junit.rules.ExternalResource; import org.junit.runner.Description; import water.Key; import water.Value; import water.fvec.Frame; import water.fvec.Vec; import water.junit.Priority; import water.junit.rules.tasks.CheckKeysTask; import water.junit.rules.tasks.CollectBeforeTestKeysT...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/DKVIsolation.java
package water.junit.rules; import org.junit.Ignore; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import water.DKVManager; import water.Key; import water.junit.Priority; import water.junit.rules.tasks.ClearBeforeTestKeysTask; @Ignore @Priority(RulesPri...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/RulesPriorities.java
package water.junit.rules; import org.junit.runner.Description; import org.junit.runners.model.Statement; /** * For rules, the higher the priority, the earlier the rule is evaluated compared with other rules, * meaning its {@link #apply(Statement, Description)} will be called after others, * but if it wraps the g...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/ScopeTracker.java
package water.junit.rules; import org.junit.Ignore; import org.junit.rules.ExternalResource; import water.Keyed; import water.Scope; import water.fvec.Frame; import java.io.Serializable; @Ignore // just a simple class that avoid the classic try-Scope.enter-finally-Scope.exit pattern public class ScopeTracker extends...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/tasks/CheckKeysTask.java
package water.junit.rules.tasks; import org.junit.Ignore; import water.*; import water.fvec.Vec; import water.util.ArrayUtils; import java.util.Arrays; import java.util.HashSet; import java.util.Set; @Ignore public class CheckKeysTask extends MRTask<CheckKeysTask> { public Key[] leakedKeys; public LeakInfo[...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/tasks/CleanAllKeysTask.java
package water.junit.rules.tasks; import org.junit.Ignore; import water.H2O; import water.MRTask; @Ignore public class CleanAllKeysTask extends MRTask<CleanAllKeysTask> { @Override protected void setupLocal() { LocalTestRuntime.beforeTestKeys.clear(); H2O.raw_clear(); water.fvec.Vec.ES...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/tasks/ClearBeforeTestKeysTask.java
package water.junit.rules.tasks; import org.junit.Ignore; import water.Key; import water.MRTask; import java.util.Arrays; @Ignore public class ClearBeforeTestKeysTask extends MRTask<ClearBeforeTestKeysTask> { private final Key[] _retainedKeys; public ClearBeforeTestKeysTask(Key... retainedKeys) { _retained...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/tasks/CollectBeforeTestKeysTask.java
package water.junit.rules.tasks; import org.junit.Ignore; import water.H2O; import water.MRTask; @Ignore public class CollectBeforeTestKeysTask extends MRTask<CollectBeforeTestKeysTask> { @Override protected void setupLocal() { LocalTestRuntime.beforeTestKeys.addAll(H2O.localKeySet()); } }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/junit/rules/tasks/LocalTestRuntime.java
package water.junit.rules.tasks; import org.junit.Ignore; import water.Key; import java.util.HashSet; import java.util.Set; @Ignore class LocalTestRuntime { static Set<Key> beforeTestKeys = new HashSet<>(); }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/runner/CloudSize.java
package water.runner; import org.junit.Ignore; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Minimal required cloud size for a JUnit test to run on */ @Ignore @Retention(RetentionPolicy.RUNTIME)...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/runner/H2ORunner.java
package water.runner; import org.junit.AfterClass; import org.junit.Ignore; import org.junit.Rule; import org.junit.internal.AssumptionViolatedException; import org.junit.internal.runners.model.EachTestNotifier; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runner.notification....
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/runner/H2ORunnerAfterClass.java
package water.runner; import org.junit.Ignore; import org.junit.internal.runners.statements.RunAfters; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.MultipleFailureException; import org.junit.runners.model.Statement; import water.junit.rules.tasks.CleanAllKeysTask; import java.util.Ar...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/WebsocketClient.java
package water.test; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.apache.log4j.Logger; import org.glassfish.tyrus.client.ClientManager; import water.H2O; import javax.websocket.*; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util....
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyAction.java
package water.test.dummy; import water.Iced; public abstract class DummyAction<T> extends Iced<DummyAction<T>> { protected abstract String run(DummyModelParameters parms); protected void cleanUp() {}; }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyExtension.java
package water.test.dummy; import water.AbstractH2OExtension; public class DummyExtension extends AbstractH2OExtension { @Override public String getExtensionName() { return "dummy"; } @Override public void init() { DummyModelParameters params = new DummyModelParameters(); new DummyModelBuilder(pa...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyModel.java
package water.test.dummy; import hex.Model; import hex.ModelMetrics; import hex.ModelMetricsBinomial; import water.Futures; import water.Key; public class DummyModel extends Model<DummyModel, DummyModelParameters, DummyModelOutput> { public DummyModel(Key<DummyModel> selfKey, DummyModelParameters parms, DummyModelO...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyModelBuilder.java
package water.test.dummy; import hex.Model; import hex.ModelBuilder; import hex.ModelCategory; import jsr166y.CountedCompleter; import water.Job; public class DummyModelBuilder extends ModelBuilder<DummyModel, DummyModelParameters, DummyModelOutput> { public DummyModelBuilder(DummyModelParameters parms) { s...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyModelOutput.java
package water.test.dummy; import hex.Model; import hex.ModelBuilder; import hex.ModelCategory; import water.fvec.Frame; public class DummyModelOutput extends Model.Output { public final String _msg; public DummyModelOutput(ModelBuilder b, Frame train, String msg) { super(b, train); _msg = msg; } @Over...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/DummyModelParameters.java
package water.test.dummy; import hex.Model; import water.Key; public class DummyModelParameters extends Model.Parameters { public DummyAction _action; public boolean _makeModel; public boolean _cancel_job; public String _column_param; public String[] _column_list_param; public String _dummy_string_param; ...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/dummy/MessageInstallAction.java
package water.test.dummy; import water.DKV; import water.Key; import water.parser.BufferedString; public class MessageInstallAction extends DummyAction<MessageInstallAction> { private final Key _trgt; private final String _msg; public MessageInstallAction(Key trgt, String msg) { _trgt = trgt; _msg = ...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/util/ConfusionMatrixUtils.java
package water.test.util; import hex.ConfusionMatrix; import org.junit.Assert; import water.MRTask; import water.Scope; import water.fvec.Chunk; import water.fvec.Frame; import water.fvec.Vec; import water.util.ArrayUtils; public class ConfusionMatrixUtils { /** * Build the CM data from the actuals and predi...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/util/GridTestUtils.java
package water.test.util; import org.junit.Assert; import org.junit.Ignore; import java.lang.reflect.Field; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import hex.Model; /** * Helper function for grid testing. */ @Ignore("Support for test...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/test/util/NaiveTreeSHAP.java
package water.test.util; import ai.h2o.algos.tree.INode; import ai.h2o.algos.tree.INodeStat; import org.junit.Ignore; import java.util.*; @Ignore public class NaiveTreeSHAP<R, N extends INode<R>, S extends INodeStat> { private final int rootNodeId; private final N[] nodes; private final S[] stats; public N...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CBlock.java
package water.udf; import org.junit.Ignore; import water.fvec.Chunk; @Ignore("Support for tests, but no actual tests here") public class CBlock { protected CBlock(Chunk[] c) { this(c, 0, c.length); } protected CBlock(Chunk[] c, int off, int len) { assert c != null : "Chunk array cannot be null!"; ...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CFunc1.java
package water.udf; import org.junit.Ignore; @Ignore("Support for tests, but no actual tests here") public interface CFunc1 extends CFunc { double apply(CBlock.CRow row); }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CFunc1Task.java
package water.udf; import org.junit.Ignore; import water.fvec.Chunk; import water.fvec.NewChunk; @Ignore("Support for tests, but no actual tests here") public class CFunc1Task extends CFuncTask<CFunc1, CFunc1Task> { private final int len; private final int ofs; public CFunc1Task(CFuncRef cFuncRef, int ofs, i...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CFunc2.java
package water.udf; import org.junit.Ignore; @Ignore("Support for tests, but no actual tests here") public interface CFunc2 extends CFunc { double apply(CBlock.CRow row1, CBlock.CRow row2); }
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CFunc2Task.java
package water.udf; import org.junit.Ignore; import water.fvec.Chunk; import water.fvec.NewChunk; @Ignore("Support for tests, but no actual tests here") public class CFunc2Task extends CFuncTask<CFunc2, CFunc2Task> { private final int len1; private final int len2; private final int ofs1; private final int of...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/CustomMetricUtils.java
package water.udf; import hex.*; import org.junit.Assert; import water.DKV; import water.Key; import water.TestUtil; import water.fvec.Frame; import water.udf.metric.MEACustomMetric; import water.util.FrameUtils; import java.io.IOException; import java.util.Arrays; import static water.udf.JFuncUtils.loadTestFunc; p...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/JFuncUtils.java
package water.udf; import org.apache.commons.io.IOUtils; import org.junit.Ignore; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.jar.JarOutputStream; import java.util.zip.ZipEntry; import water.DKV; import water.Key; import water.Va...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/UdfUtils.java
package water.udf; import water.Scope; import water.fvec.Vec; import java.lang.reflect.Method; public class UdfUtils { public static <T> T willDrop(T vh) { try { // using reflection so that Paula Bean's code is intact Method vec = vh.getClass().getMethod("vec"); Scope.track((Vec)vec.invoke(...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/metric/BernoulliCustomDistribution.java
package water.udf.metric; import org.junit.Ignore; import water.udf.CDistributionFunc; @Ignore("Support for tests, but no actual tests here") public class BernoulliCustomDistribution implements CDistributionFunc { public double MIN_LOG = -19; public double MAX = 1e19; public double exp(double x) { r...
0
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf
java-sources/ai/h2o/h2o-test-support/3.46.0.7/water/udf/metric/MEACustomMetric.java
package water.udf.metric; import org.junit.Ignore; import hex.Model; import water.udf.CMetricFunc; import water.util.ArrayUtils; @Ignore("Support for tests, but no actual tests here") public class MEACustomMetric implements CMetricFunc { @Override public double[] map(double[] preds, float[] yact, double weight,...
0
java-sources/ai/h2o/h2o-tree-api/0.3.20/ai/h2o/algos
java-sources/ai/h2o/h2o-tree-api/0.3.20/ai/h2o/algos/tree/INode.java
package ai.h2o.algos.tree; public interface INode<T> { boolean isLeaf(); float getLeafValue(); int getSplitIndex(); int next(T value); int getLeftChildIndex(); int getRightChildIndex(); }
0
java-sources/ai/h2o/h2o-tree-api/0.3.20/ai/h2o/algos
java-sources/ai/h2o/h2o-tree-api/0.3.20/ai/h2o/algos/tree/INodeStat.java
package ai.h2o.algos.tree; public interface INodeStat { float getWeight(); }
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/config/ConnectionConfiguration.java
package water.webserver.config; import water.webserver.iface.H2OHttpConfig; public class ConnectionConfiguration { private final boolean _secure; private final String _scheme; public ConnectionConfiguration(boolean isSecured) { _secure = isSecured; _scheme = isSecured ? "https" : "http";...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/Credentials.java
package water.webserver.iface; import org.apache.commons.codec.binary.Base64; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; /** * Representation of the User-Password pair */ public class Credentials { private final String _user; private final String _password; public Credent...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/H2OHttpConfig.java
package water.webserver.iface; /** * Holds configuration relevant to HTTP server. */ public class H2OHttpConfig { /** * Prefix of hidden system properties, same as in H2O.OptArgs.SYSTEM_PROP_PREFIX. */ public static final String SYSTEM_PROP_PREFIX = "sys.ai.h2o."; public String jks; public String jk...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/H2OHttpView.java
package water.webserver.iface; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Collection; import java.util.LinkedHashMap; /** * Exposes part of H2O functionality for the purposes of HTTP ...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/H2OWebsocketServlet.java
package water.webserver.iface; public interface H2OWebsocketServlet { WebsocketHandler onConnect(WebsocketConnection conn); }
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/HttpServerFacade.java
package water.webserver.iface; /** * Facade for an HTTP server implementation. We typically use Jetty behind this; however, due to use of various major versions, * we cannot afford anymore to depend on Jetty directly; the changes between its major versions are as significant * as if it was a completely different we...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/HttpServerLoader.java
package water.webserver.iface; import java.util.Iterator; import java.util.ServiceLoader; /** * Finds implementation of {@link HttpServerFacade} found on the classpath. * There must be exactly one present. */ public class HttpServerLoader { public static final HttpServerFacade INSTANCE; static { final Serv...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/LoginType.java
package water.webserver.iface; /** * Supported login methods */ public enum LoginType { NONE(null, false), HASH(null, false), LDAP("ldaploginmodule", true), KERBEROS("krb5loginmodule", true), SPNEGO(null, true), PAM("pamloginmodule", true); public final String jaasRealm; private final boolean checkU...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/ProxyServer.java
package water.webserver.iface; import java.io.IOException; /** * All the functionality that we need to call on an existing instance of HTTP proxy. */ public interface ProxyServer { void start(String ip, int port) throws IOException; }
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/RequestAuthExtension.java
package water.webserver.iface; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Extension point for HTTP request handling. Managed by ExtensionManager. */ public interface RequestAuthExtension { /*...
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/WebServer.java
package water.webserver.iface; import java.io.IOException; /** * All the functionality that we need to call on an existing instance of HTTP server (servlet container). */ public interface WebServer { void start(String ip, int port) throws IOException; void stop() throws IOException; }
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/WebsocketConnection.java
package water.webserver.iface; import java.io.IOException; public interface WebsocketConnection { void sendMessage(String message) throws IOException; }
0
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver
java-sources/ai/h2o/h2o-webserver-iface/3.46.0.7/water/webserver/iface/WebsocketHandler.java
package water.webserver.iface; public interface WebsocketHandler { void onClose(WebsocketConnection connection); void onMessage(String message); }
0
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/ai/h2o
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/ai/h2o/libtorch/LibtorchBundle.java
package ai.h2o.libtorch; import com.facebook.soloader.nativeloader.NativeLoader; import com.facebook.soloader.nativeloader.SystemDelegate; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.pytorch.IValue; import org.pytorch.Module; impo...
0
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/com/facebook
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/com/facebook/jni/DestructorThread.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/com/facebook
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/com/facebook/jni/package-info.java
/** * This is the workarround proposed in https://github.com/facebookincubator/fbjni/pull/67 */ package com.facebook.jni;
0
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/org/scijava
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/org/scijava/nativelib/BaseJniExtractor.java
/* * #%L * Native library loader for extracting and loading native libraries from Java. * %% * Copyright (C) 2010 - 2021 Board of Regents of the University of * Wisconsin-Madison and Glencoe Software, Inc. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
0
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/org/scijava
java-sources/ai/h2o/libtorch-bundle/1.9.0-alpha-3/org/scijava/nativelib/package-info.java
/** * TODO: for now, this hack is embedded, until they approve my PRs: * - https://github.com/scijava/native-lib-loader/issues/45 * - https://github.com/pkozelka/native-lib-loader/pull/1 * - https://github.com/scijava/native-lib-loader/pull/46 */ package org.scijava.nativelib;
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/MojoPipeline.java
package ai.h2o.mojos.runtime; import ai.h2o.mojos.runtime.api.BasePipelineListener; import ai.h2o.mojos.runtime.api.MojoPipelineService; import ai.h2o.mojos.runtime.api.PipelineConfig; import ai.h2o.mojos.runtime.api.backend.ReaderBackend; import ai.h2o.mojos.runtime.frame.MojoColumn; import ai.h2o.mojos.runtime.frame...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/package-info.java
/** * Entry point package to load MOJO. * * The package exposes two main concepts: * * - {@link ai.h2o.mojos.runtime.MojoPipeline} represents an interface of MOJO scoring pipeline. * - {@link ai.h2o.mojos.runtime.api.MojoPipelineService} provide a factory to instantiate MOJO pipelines * from different ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/BasePipelineListener.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.frame.MojoFrame; import ai.h2o.mojos.runtime.transforms.MojoTransform; /** * Listener, called by pipeline while processing the transformation. */ public class BasePipelineListener { /** * An instance of listener that ignores everything. */ ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/MojoColumnMeta.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.frame.MojoColumn; import java.util.ArrayList; import java.util.List; /** * Represents all metadata about a column. * It can be input feature, intermediate result, or output column. * * Does NOT contain values - for that, see {@link ai.h2o.mojos.runtime...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/MojoPipelineService.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.MojoPipeline; import ai.h2o.mojos.runtime.api.backend.DirReaderBackend; import ai.h2o.mojos.runtime.api.backend.ReaderBackend; import ai.h2o.mojos.runtime.api.backend.ZipFileReaderBackend; import ai.h2o.mojos.runtime.lic.LicenseException; import ai.h2o.mojo...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/MojoTransformMeta.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.frame.MojoFrame; import ai.h2o.mojos.runtime.transforms.MojoTransform; /** * Temporary representation of a transformer - before it is fully loaded. */ public class MojoTransformMeta extends MojoTransform { private final Object desc; private final...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/MojoTransformationGroup.java
package ai.h2o.mojos.runtime.api; import java.util.Map; import java.util.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MojoTransformationGroup { private static final Logger log = LoggerFactory.getLogger(MojoTransformationGroup.class); private final String id; private final...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/PipelineConfig.java
package ai.h2o.mojos.runtime.api; /** * Immutable configuration of the mojo pipeline. */ public class PipelineConfig { boolean shapEnabled; boolean shapOriginal; BasePipelineListener listener = BasePipelineListener.NOOP; boolean withPredictionInterval; String[] exposedColumnNames; public sta...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/PipelineLoader.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.MojoPipeline; import ai.h2o.mojos.runtime.frame.MojoFrameMeta; import ai.h2o.mojos.runtime.lic.LicenseException; import java.io.IOException; import java.util.List; /** * Representation of a pipeline */ public interface PipelineLoader { /** * @de...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/PipelineLoaderFactory.java
package ai.h2o.mojos.runtime.api; import ai.h2o.mojos.runtime.api.backend.ReaderBackend; import ai.h2o.mojos.runtime.lic.LicenseException; import java.io.IOException; public interface PipelineLoaderFactory { /** * Creates the loader with a given backend * @param backend - * @param optionalMainFile ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/DirReaderBackend.java
package ai.h2o.mojos.runtime.api.backend; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.slf4j.Logger; ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/MemoryReaderBackend.java
package ai.h2o.mojos.runtime.api.backend; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.security.NoSuchAlgorithmException; import java.util.Collection; import java.util.HashMap; import...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/ReaderBackend.java
package ai.h2o.mojos.runtime.api.backend; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.util.Collection; /** Represents access to a storage */ public interface ReaderBackend extends Closeable { ResourceInfo getResourceInfo(String resourceName) throws IOException; ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/ReaderBackendUtils.java
package ai.h2o.mojos.runtime.api.backend; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; /** * Utilities for working with ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/ResourceInfo.java
package ai.h2o.mojos.runtime.api.backend; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.HashMap; /** * Basic information about a resource in {@link ReaderBackend}. */ public final class ResourceInfo { public final long size; ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/SubtreeReaderBackend.java
package ai.h2o.mojos.runtime.api.backend; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * This reader operates on a subtree of another {@link ReaderBackend}. */ public class SubtreeReaderBackend implements ReaderBackend { ...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/api/backend/ZipFileReaderBackend.java
package ai.h2o.mojos.runtime.api.backend; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip....
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoColumn.java
package ai.h2o.mojos.runtime.frame; import ai.h2o.mojos.runtime.utils.MojoDateTime; import java.io.Serializable; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Container for...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoColumnFactory.java
package ai.h2o.mojos.runtime.frame; /** * Column factory. * * Create a {@link MojoColumn} instances based on give column type. */ public interface MojoColumnFactory { /** * Creates an instance of {@link MojoColumn} based on given `type` and `nrows`. * @param type type of column to create. * @param nro...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoColumnFactoryService.java
package ai.h2o.mojos.runtime.frame; import java.util.ArrayList; import java.util.List; import java.util.ServiceLoader; import ai.h2o.mojos.runtime.utils.ClassLoaderUtils; /** * Service to obtain instance of {@link MojoColumnFactory}. * * The service is using Java SPI to obtain all classes * implementing {@link M...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoFrame.java
package ai.h2o.mojos.runtime.frame; /** * Container for {@link MojoColumn}s as well as some additional meta data. MojoFrames are mostly immutable; it's column/row * count, column references, and associated names for said references cannot be modified once created. The data of a * individual column can be modified,...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoFrameBuilder.java
package ai.h2o.mojos.runtime.frame; import ai.h2o.mojos.runtime.api.MojoColumnMeta; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoFrameMeta.java
package ai.h2o.mojos.runtime.frame; import ai.h2o.mojos.runtime.api.MojoColumnMeta; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util....
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/MojoRowBuilder.java
package ai.h2o.mojos.runtime.frame; import java.util.Collection; import java.util.Map; /** * The builder is used to build rows for a {@link MojoFrameBuilder}. Rows are constructed by adding values in String form to a builder * instance. The rows can then be added to a MojoFrameBuilder by calling {@link MojoFrameBui...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/StringConverter.java
package ai.h2o.mojos.runtime.frame; /** * `StringConverter` is an interface for converting `String` values into a {@link MojoColumn.Type}. */ public interface StringConverter { /** * Convert a `String` into the designated output type. * @param s The `String` to convert * @param outputType The type into w...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/frame/package-info.java
/** * The package exposes classes to support frame and row creation. * * The package expose the following concepts: * * - {@link ai.h2o.mojos.runtime.frame.MojoFrame} * - {@link ai.h2o.mojos.runtime.frame.MojoFrameBuilder} * - {@link ai.h2o.mojos.runtime.frame.MojoRowBuilder} * * The {@link ai.h2o.mojos....
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/lic/InvalidLicenseException.java
package ai.h2o.mojos.runtime.lic; /** * The exception reports an invalid license. * * The invalid license means that MOJO runtime was * not able to load, parse or interpret license file. */ public class InvalidLicenseException extends LicenseException { public InvalidLicenseException(Exception e) { super("...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/lic/InvalidSignatureException.java
package ai.h2o.mojos.runtime.lic; /** * The exception reports an invalid MOJO signature. * * The invalid MOJO signature means, that the signature file * ({@link MojoSignatureConsts#MOJO_SIGNATURE_FILENAME }) is present, * but the signature does not match expected signature of * MOJO watermark file ({@link MojoSi...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/lic/InvalidWatermarkException.java
package ai.h2o.mojos.runtime.lic; /** * The exception reports an invalid MOJO watermark (non-perpetual MOJO). * * The invalid watermark means that the MOJO is not marked as perpetual. */ public class InvalidWatermarkException extends LicenseException { public InvalidWatermarkException(Exception e) { super("...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/lic/LicenseConsts.java
package ai.h2o.mojos.runtime.lic; import java.io.File; /** * The default configuration properties used by license manager * to look for license. */ public class LicenseConsts { /** The default name of license file. */ public static final String LICENSE_FILENAME = "license.sig"; /** Name of environment vari...
0
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime
java-sources/ai/h2o/mojo2-runtime-api/2.8.9/ai/h2o/mojos/runtime/lic/LicenseException.java
package ai.h2o.mojos.runtime.lic; /** * A generic license problem. */ public class LicenseException extends Exception { public LicenseException(String msg, Exception e) { super(msg, e, true, false); } @Override public String toString() { return super.getMessage(); } }