()
| 94 | } |
| 95 | |
| 96 | private StoreFuncInterface storeFunc() { |
| 97 | if (this.storeFunc == null) { |
| 98 | // Pig does not re-throw the exception with a stack trace in the parse phase. |
| 99 | throw new IllegalArgumentException("Method calls can not be made on the " + |
| 100 | "StoreFuncWrapper object before the wrapped StoreFuncInterface object has been " |
| 101 | + "set. Failed on method call " + getMethodName(1)); |
| 102 | } |
| 103 | return storeFunc; |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Returns a method in the call stack at the given depth. Depth 0 will return the method that |
no test coverage detected