note
	description: "[
		Exception for a COM error
	]"
	library: "Free implementation of ELKS library"
	status: "See notice at end of class."
	legal: "See notice at end of class."
	date: "$Date: 2020-05-19 14:32:38 +0000 (Tue, 19 May 2020) $"
	revision: "$Revision: 104260 $"

class interface
	COM_FAILURE

create 
	default_create

feature -- Access

	hresult: INTEGER_32
			-- Original HRESULT.

	hresult_code: INTEGER_32
			-- Error code of COM

	code: INTEGER_32
			-- Exception code

	Tag: IMMUTABLE_STRING_32
			-- A short message describing what current exception is
	
feature -- Status setting

	set_hresult_code (a_code: like hresult_code)
			-- Set hresult_code with a_code.

	hresult_facility: INTEGER_32
			-- Facility code.

	hresult_message: STRING_8
			-- Error message.
		ensure
			non_void_message: Result /= Void
	
feature -- Element Change

	trigger (a_code: INTEGER_32)
			-- Raise exception with code code.
			-- See class ECOM_EXCEPTION_CODES in EiffelCom for possible values.
	
note
	copyright: "Copyright (c) 1984-2020, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class COM_FAILURE

Generated by ISE EiffelStudio