Tabnine Logo
CukesRuntimeException
Code IndexAdd Tabnine to your IDE (free)

How to use
CukesRuntimeException
in
lv.ctco.cukes.core

Best Java code snippets using lv.ctco.cukes.core.CukesRuntimeException (Showing top 20 results out of 315)

origin: lv.ctco.cukes/cukes-http

public JsonToken peek() {
  try {
    return reader.peek();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-ldap

public Attribute getAttribute(String attribute) {
  if (entity == null) {
    throw new CukesRuntimeException("Entity was not loaded");
  }
  return entity.get(attribute);
}
origin: ctco/cukes

public Attribute getAttribute(String attribute) {
  if (entity == null) {
    throw new CukesRuntimeException("Entity was not loaded");
  }
  return entity.get(attribute);
}
origin: lv.ctco.cukes/cukes-http

public String nextString() {
  try {
    return reader.nextString();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

public void nextName() {
  try {
    reader.nextName();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-http

public void beginObject() {
  try {
    reader.beginObject();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-http

public void nextName() {
  try {
    reader.nextName();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

public void beginObject() {
  try {
    reader.beginObject();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

public void endObject() {
  try {
    reader.endObject();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

public String nextString() {
  try {
    return reader.nextString();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-http

public void endObject() {
  try {
    reader.endObject();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

  private int mapPatternCharacter(int ch) {
    Supplier<Integer> characterSupplier = randomGenerators.get((char) ch);
    if (characterSupplier == null)
      throw new CukesRuntimeException("Invalid password pattern character: " + ch + ". Pattern should contain combination of A,a,0");
    return characterSupplier.get();
  }
}
origin: lv.ctco.cukes/cukes-http-mock

public MockServerClient getMockServerClient(String serviceName) {
  return services.computeIfAbsent(serviceName, key -> {
    String availableMockServices = services.keySet().stream().collect(Collectors.joining(", "));
    throw new CukesRuntimeException("Unable to find http mock service by name:" + key + ". " +
      "Available mock services are: {" + availableMockServices + "}");
  });
}
origin: lv.ctco.cukes/cukes-ldap

public Attribute getNotNullAttribute(String attribute) {
  if (entity == null) {
    throw new CukesRuntimeException("Entity was not loaded");
  }
  Attribute attr = entity.get(attribute);
  assertThat("Expected that attribute '" + attribute + "' will be present", attr, notNullValue());
  return attr;
}
origin: ctco/cukes

public boolean nextBoolean() {
  try {
    return reader.nextBoolean();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: ctco/cukes

public Attribute getNotNullAttribute(String attribute) {
  if (entity == null) {
    throw new CukesRuntimeException("Entity was not loaded");
  }
  Attribute attr = entity.get(attribute);
  assertThat("Expected that attribute '" + attribute + "' will be present", attr, notNullValue());
  return attr;
}
origin: lv.ctco.cukes/cukes-http

public void nextNull() {
  try {
    reader.nextNull();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-http

public boolean nextBoolean() {
  try {
    return reader.nextBoolean();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-http

public void endArray() {
  try {
    reader.endArray();
  } catch (IOException e) {
    throw new CukesRuntimeException(e);
  }
}
origin: lv.ctco.cukes/cukes-ldap

public void close() {
  if (context != null) {
    try {
      context.close();
    } catch (NamingException e) {
      throw new CukesRuntimeException(e);
    }
  }
  context = null;
}
lv.ctco.cukes.coreCukesRuntimeException

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Collectors (java.util.stream)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now