indexing description: "[ Utility class used to handle the C++ exceptions that may occur during Spaces operations ]" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class EGS_EXCEPTION_HANDLER_RAISE inherit EGS_EXCEPTION_HANDLER EXCEPTION_MANAGER_FACTORY create {EGS_SHARED_EXCEPTION_HANDLER} make feature {EGS_SHARED_EXCEPTION_HANDLER} -- Queries last_exception: EGS_XAP_EXCEPTION is -- The last exception occured do -- Not applicable in this implementation Result := Void end was_exception: BOOLEAN is -- Has the exception occured during the last operation do -- Not applicable in this implementation Result := False end clear_exception is -- Clears the last exception do -- Not applicable in this implementation end feature {NONE} -- Implementation exception_call_back (excp_name_ptr: POINTER; excp_message_ptr: POINTER; excp_ptr: POINTER) is local exception: EGS_XAP_EXCEPTION excp_name: STRING excp_message: STRING do create excp_name.make_from_c (excp_name_ptr) create excp_message.make_from_c (excp_message_ptr) if is_java_exception (excp_name) then create {EGS_JAVA_EXCEPTION} exception.make (excp_name, excp_message, excp_ptr) else create {EGS_XAP_EXCEPTION} exception.make (excp_name, excp_message) end exception.raise end indexing library: "egigs-cpp: Library for accessing the GigaSpaces platform, POCO library based implementation." copyright: "Copyright (c) 2008, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end