Tabnine Logo
RuntimeException.fillInStackTrace
Code IndexAdd Tabnine to your IDE (free)

How to use
fillInStackTrace
method
in
java.lang.RuntimeException

Best Java code snippets using java.lang.RuntimeException.fillInStackTrace (Showing top 20 results out of 846)

origin: redisson/redisson

  @Override
  public synchronized Throwable fillInStackTrace() {
    return TRACE_CANCEL ? super.fillInStackTrace() : this;
  }
}
origin: redisson/redisson

  @Override
  public synchronized Throwable fillInStackTrace() {
    return TRACE_NOCAPACITY ? super.fillInStackTrace() : this;
  }
}
origin: google/guava

@Override
public E next() {
 ex.fillInStackTrace();
 throw ex;
}
origin: robolectric/robolectric

public void setDataSource(DataSource dataSource) {
 RuntimeException e = exceptions.get(dataSource);
 if (e != null) {
  e.fillInStackTrace();
  throw e;
 }
 this.dataSource = dataSource;
}
origin: google/guava

 @Override
 public void remove() {
  ex.fillInStackTrace();
  throw ex;
 }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> andReturn(Object value) {
  try {
    state.andReturn(value);
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void andStubDelegateTo(Object delegateTo) {
  try {
    state.andStubDelegateTo(delegateTo);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> anyTimes() {
  try {
    state.times(ZERO_OR_MORE);
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void checkOrder(boolean value) {
  try {
    state.checkOrder(value);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> andAnswer(IAnswer<?> answer) {
  try {
    state.andAnswer(answer);
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void andStubReturn(Object value) {
  try {
    state.andStubReturn(value);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void makeThreadSafe(boolean threadSafe) {
  try {
    state.makeThreadSafe(threadSafe);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> andDelegateTo(Object answer) {
  try {
    state.andDelegateTo(answer);
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> andVoid() {
  try {
    state.andVoid();
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> once() {
  try {
    state.times(ONCE);
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void andStubAnswer(IAnswer<?> answer) {
  try {
    state.andStubAnswer(answer);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public IExpectationSetters<Object> times(int times) {
  try {
    state.times(new Range(times));
    return this;
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void verify() {
  try {
    state.verify();
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  } catch (AssertionErrorWrapper e) {
    throw (AssertionError) e.getAssertionError().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void replay() {
  try {
    state.replay();
    state = new ReplayState(behavior);
    LastControl.reportLastControl(null);
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  }
}
origin: org.easymock/easymock

@Override
public void verifyRecording() {
  try {
    state.verifyRecording();
  } catch (RuntimeExceptionWrapper e) {
    throw (RuntimeException) e.getRuntimeException().fillInStackTrace();
  } catch (AssertionErrorWrapper e) {
    throw (AssertionError) e.getAssertionError().fillInStackTrace();
  }
}
java.langRuntimeExceptionfillInStackTrace

Popular methods of RuntimeException

  • <init>
  • getMessage
  • printStackTrace
  • getCause
  • toString
  • getStackTrace
  • initCause
  • setStackTrace
  • getLocalizedMessage
  • addSuppressed
  • getSuppressed
  • getSuppressed

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • JPanel (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for Android Studio
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