()
| 84 | } |
| 85 | |
| 86 | protected LoadFunc loadFunc() { |
| 87 | if (this.loadFunc == null) { |
| 88 | // Pig does not re-throw the exception with a stack trace in the parse phase. |
| 89 | throw new IllegalArgumentException("Method calls can not be made on the " + |
| 90 | "LoadFuncWrapper object before the wrapped LoadFunc object has been " |
| 91 | + "set. Failed on method call " + getMethodName(1)); |
| 92 | } |
| 93 | return loadFunc; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * Returns a method in the call stack at the given depth. Depth 0 will return the method that |
no test coverage detected