View Javadoc
1 /* Copyright (c) 2000-2003, jMock.org. See bundled LICENSE.txt */ 2 package org.jmock.expectation; 3 4 /*** 5 * Sequence of exception values as required by MockMaker 6 * This is a generic class that should have been introduced to the mockobjects code stream instead of 7 * being separately included in org.mockobjects. 8 * It is possibly similar to a ReturnObjectList? 9 */ 10 11 public class ExceptionalReturnValue { 12 private Throwable exception; 13 14 public ExceptionalReturnValue(Throwable exception) { 15 this.exception = exception; 16 } 17 18 public Throwable getException() { 19 return exception; 20 } 21 22 }

This page was automatically generated by Maven