324 |
// It is really unclear to me if this is right. |
// It is really unclear to me if this is right. |
325 |
try |
try |
326 |
{ |
{ |
327 |
Object obj = getObjectInstance (null, cpe.getAltName (), |
Object obj = getObjectInstance (cpe.getResolvedObj(), |
328 |
cpe.getAltNameCtx (), env); |
cpe.getAltName (), |
329 |
|
cpe.getAltNameCtx (), |
330 |
|
env); |
331 |
if (obj != null) |
if (obj != null) |
332 |
return (Context) obj; |
return (Context) obj; |
333 |
} |
} |
335 |
{ |
{ |
336 |
} |
} |
337 |
|
|
338 |
|
// fix stack trace for re-thrown exception (message confusing otherwise) |
339 |
|
cpe.fillInStackTrace(); |
340 |
|
|
341 |
throw cpe; |
throw cpe; |
342 |
} |
} |
343 |
|
|