Lines Matching refs:throwable

155      * @param throwable

164 * if throwable is null.
166 public void setThrowable(Throwable throwable) {
169 .andThrow(throwable).once();
210 * @param throwable
221 * if throwable is null.
223 public void setThrowable(Throwable throwable, int times) {
226 .andThrow(throwable).times(times);
287 * @param throwable
288 * throwable the throwable to be thrown
293 * if throwable is null.
298 public void setDefaultThrowable(Throwable throwable) {
299 ctrl.setLegacyDefaultThrowable(throwable);
361 * @param throwable
374 * if throwable is null.
376 public void setThrowable(Throwable throwable, int minCount, int maxCount) {
379 .andThrow(throwable).times(minCount, maxCount);
382 public void setThrowable(Throwable throwable, Range range) {
385 .andThrow(throwable);
547 * @param throwable to be thrown on the call
549 public void expectAndThrow(Object ignored, Throwable throwable) {
550 EasyMock.expect(ignored).andThrow(throwable).once();
560 * @param throwable to be thrown on the call
563 public void expectAndThrow(Object ignored, Throwable throwable, Range range) {
565 throwable);
576 * @param throwable to be thrown on the call
579 public void expectAndThrow(Object ignored, Throwable throwable, int count) {
580 expect(ignored).andThrow(throwable).times(count);
590 * @param throwable to be thrown on the call
594 public void expectAndThrow(Object ignored, Throwable throwable, int min,
596 expect(ignored).andThrow(throwable).times(min, max);
621 * @param throwable to be thrown on the call
623 public void expectAndDefaultThrow(Object ignored, Throwable throwable) {
626 .andStubThrow(throwable);