org.apache.yoko.orb.OB
Class UnknownExceptionInfo_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OB.UnknownExceptionInfo_impl
All Implemented Interfaces:
UnknownExceptionInfo, UnknownExceptionInfoOperations, Object

public class UnknownExceptionInfo_impl
extends LocalObject
implements UnknownExceptionInfo


Constructor Summary
UnknownExceptionInfo_impl(String operation, boolean responseExpected, TransportInfo transportInfo, RuntimeException ex)
           
 
Method Summary
 String describe_exception()
          Obtains a description of the exception.
 String operation()
          The name of the operation that the servant was executing.
 void raise_exception()
          Raises the unknown exception.
 boolean response_expected()
          Indicates whether the client is expecting a response to this invocation.
 TransportInfo transport_info()
          Obtains information about the transport on which this request was received.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

UnknownExceptionInfo_impl

public UnknownExceptionInfo_impl(String operation,
                                 boolean responseExpected,
                                 TransportInfo transportInfo,
                                 RuntimeException ex)
Method Detail

operation

public String operation()
Description copied from interface: UnknownExceptionInfoOperations
The name of the operation that the servant was executing.

Specified by:
operation in interface UnknownExceptionInfoOperations
Returns:
The operation name.

response_expected

public boolean response_expected()
Description copied from interface: UnknownExceptionInfoOperations
Indicates whether the client is expecting a response to this invocation.

Specified by:
response_expected in interface UnknownExceptionInfoOperations
Returns:
TRUE if the client expects a response, FALSE otherwise.

transport_info

public TransportInfo transport_info()
Description copied from interface: UnknownExceptionInfoOperations
Obtains information about the transport on which this request was received.

Specified by:
transport_info in interface UnknownExceptionInfoOperations
Returns:
The transport information, or NULL if the request was made on a collocated servant.

describe_exception

public String describe_exception()
Description copied from interface: UnknownExceptionInfoOperations
Obtains a description of the exception. For example, in Java this returns the exception stack trace. Calling this operation in C++ will raise CORBA::NO_IMPLEMENT.

Specified by:
describe_exception in interface UnknownExceptionInfoOperations
Returns:
The exception description.

raise_exception

public void raise_exception()
Description copied from interface: UnknownExceptionInfoOperations
Raises the unknown exception.

Specified by:
raise_exception in interface UnknownExceptionInfoOperations


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.