431432433434435436437438
return makeException("unexpected call to " + marker + " with params " + params); } public static MockException makeException(String msg) { exception = new MockException(msg,expectations); return exception; }
216217218219220221222223224225
loadCtors(cls); loadMethods(cls); setSourceFQN(typeName); } catch( Throwable th ) { throw new MockException("failed to init a MockDescriptor",th); } finally { Thread.currentThread().setContextClassLoader(cl); } }