39 |
package gnu.CORBA; |
package gnu.CORBA; |
40 |
|
|
41 |
import gnu.CORBA.CDR.UnknownExceptionCtxHandler; |
import gnu.CORBA.CDR.UnknownExceptionCtxHandler; |
42 |
import gnu.CORBA.CDR.cdrBufInput; |
import gnu.CORBA.CDR.BufferredCdrInput; |
43 |
import gnu.CORBA.CDR.cdrBufOutput; |
import gnu.CORBA.CDR.BufferedCdrOutput; |
44 |
import gnu.CORBA.CDR.cdrInput; |
import gnu.CORBA.CDR.AbstractCdrInput; |
45 |
import gnu.CORBA.GIOP.ServiceContext; |
import gnu.CORBA.GIOP.ServiceContext; |
46 |
import gnu.CORBA.typecodes.RecordTypeCode; |
import gnu.CORBA.typecodes.RecordTypeCode; |
47 |
import gnu.classpath.VMStackWalker; |
import gnu.classpath.VMStackWalker; |
204 |
|
|
205 |
if (uEx != null) |
if (uEx != null) |
206 |
{ |
{ |
207 |
cdrBufInput in = new cdrBufInput(uEx.context_data); |
BufferredCdrInput in = new BufferredCdrInput(uEx.context_data); |
208 |
in.setOrb(in.orb()); |
in.setOrb(in.orb()); |
209 |
if (input instanceof cdrInput) |
if (input instanceof AbstractCdrInput) |
210 |
{ |
{ |
211 |
((cdrInput) input).cloneSettings(in); |
((AbstractCdrInput) input).cloneSettings(in); |
212 |
} |
} |
213 |
|
|
214 |
Throwable t = UnknownExceptionCtxHandler.read(in, contexts); |
Throwable t = UnknownExceptionCtxHandler.read(in, contexts); |
463 |
{ |
{ |
464 |
try |
try |
465 |
{ |
{ |
466 |
cdrBufOutput output = new cdrBufOutput(); |
BufferedCdrOutput output = new BufferedCdrOutput(); |
467 |
|
|
468 |
String m_exception_id = getRepositoryId(exception.getClass()); |
String m_exception_id = getRepositoryId(exception.getClass()); |
469 |
output.write_string(m_exception_id); |
output.write_string(m_exception_id); |