Home
last modified time | relevance | path

Searched full:exception (Results 1 – 25 of 1822) sorted by relevance

12345678910>>...73

/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dexceptions.hpp9 /** @class Exception
11 * to return the description of exception.
12 * This class also works as base class for custom exception classes for
15 class Exception : public std::runtime_error class
19 Exception() = delete;
20 Exception(const Exception&) = delete;
21 Exception(Exception&&) = delete;
22 Exception& operator=(const Exception&) = delete;
25 ~Exception() = default;
29 * @param[in] msg - Information w.r.t exception.
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dexception_utils.hpp20 #include <exception>
33 * Returns a vector containing the specified exception and any nested inner
36 * If the exception contains nested inner exceptions, the returned vector will
37 * be ordered from innermost exception to outermost exception.
42 * @param eptr exception pointer
48 * Gets the error messages from the specified exception and any nested inner
51 * If the exception contains nested inner exceptions, the messages in the
52 * returned vector will be ordered from innermost exception to outermost
53 * exception.
55 * @param e exception
[all …]
H A Derror_logging_utils.hpp22 #include <exception>
33 * Logs an error based on the specified exception and any nested inner
36 * @param eptr exception pointer
44 * Logs an error, if necessary, based on the specified exception and any nested
47 * Finds the error type would be logged based on the specified exception and any
58 * @param eptr exception pointer
73 * Returns the exception to use when logging an error.
75 * Inspects the specified exception and any nested inner exceptions. Returns
76 * the highest priority exception from an error logging perspective.
78 * @param eptr exception pointer
[all …]
H A Dexception_utils.cpp29 std::vector<std::string> getMessages(const std::exception& e) in getMessages()
42 // Verify exception pointer is not null in getExceptions()
45 // If this exception is nested, add inner exception(s) to vector in getExceptions()
57 // Append this exception to vector in getExceptions()
62 void getMessages(const std::exception& e, std::vector<std::string>& messages) in getMessages()
64 // If this exception is nested, get messages from inner exception(s) in getMessages()
69 catch (const std::exception& inner) in getMessages()
76 // Append error message from this exception in getMessages()
H A Dconfig_file_parser.hpp85 * Throws an invalid_argument exception if the property does not exist.
111 * Throws an exception if parsing fails.
123 * Throws an exception if parsing fails.
136 * Throws an exception if parsing fails.
148 * Throws an exception if parsing fails.
173 * Throws an exception if parsing fails.
198 * Throws an exception if parsing fails.
218 * Throws an exception if parsing fails.
230 * Throws an exception if parsing fails.
243 * Throws an exception if parsing fails.
[all …]
/openbmc/qemu/include/hw/intc/
H A Darmv7m_nvic.h27 /* Exception priorities can range from -3 to 255; only the unmodifiable
47 * a Secure and a NonSecure version of the exception and its state):
51 * We store the secure exception state in sec_vectors[] for the banked
54 * Entries in sec_vectors[] for non-banked exception numbers are unused.
71 unsigned int vectpending; /* highest prio pending enabled exception */
72 /* true if vectpending is a banked secure exception, ie it is in
76 int exception_prio; /* group prio of the highest prio active exception */
77 int vectpending_prio; /* group prio of the exception in vectpending */
88 * armv7m_nvic_set_pending: mark the specified exception as pending
90 * @irq: the exception number to mark pending
[all …]
/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c91 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in cpu_loop()
92 cpu_abort(cs, "Machine check exception while in user mode. " in cpu_loop()
95 case POWERPC_EXCP_DSI: /* Data storage exception */ in cpu_loop()
96 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in cpu_loop()
105 case POWERPC_EXCP_PROGRAM: /* Program exception */ in cpu_loop()
138 EXCP_DUMP(env, "Unknown floating point exception (%02x)\n", in cpu_loop()
188 cpu_abort(cs, "Unknown program exception (%02x)\n", in cpu_loop()
194 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in cpu_loop()
197 case POWERPC_EXCP_VPU: /* Vector unavailable exception */ in cpu_loop()
200 case POWERPC_EXCP_SYSCALL: /* System call exception */ in cpu_loop()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dpel_utils.py21 class PeltoolException(Exception):
89 Returns PEL data from BMC else throws exception.
106 except Exception as exception:
108 "Failed to get PEL data from BMC : " + str(exception)
109 ) from exception
115 Verify that no PEL exists in BMC. Raise an exception if it does.
126 except Exception as exception:
128 "Failed to get PEL data from BMC : " + str(exception)
129 ) from exception
195 except Exception as exception:
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dexception_utils_tests.cpp20 #include <exception>
31 // Test where exception pointer is null in TEST()
39 // Test where exception pointer is not null in TEST()
41 // Create nested exception with two nesting levels in TEST()
65 // Verify first exception in vector, which is the innermost exception in TEST()
77 ADD_FAILURE() << "Unexpected exception type"; in TEST()
80 // Verify second exception in vector, which is the outermost exception in TEST()
92 ADD_FAILURE() << "Unexpected exception type"; in TEST()
111 catch (const std::exception& e) in TEST()
122 // Test where exception pointer is null in TEST()
[all …]
H A Derror_logging_utils_tests.cpp30 #include <sdbusplus/exception.hpp>
32 #include <exception>
48 // Create exception with two nesting levels; top priority is inner in TEST()
82 // Log error based on the nested exception in TEST()
88 // Test where exception pointer is null in TEST()
100 // Test where exception is not nested in TEST()
122 // Log error based on the nested exception in TEST()
128 // Test where exception is nested in TEST()
157 // Log error based on the nested exception in TEST()
163 // Test where exception is a ConfigFileParserError in TEST()
[all …]
H A Did_map_tests.cpp23 #include <exception>
60 catch (const std::exception& error) in TEST()
62 ADD_FAILURE() << "Should not have caught exception."; in TEST()
108 catch (const std::exception& error) in TEST()
110 ADD_FAILURE() << "Should not have caught exception."; in TEST()
150 catch (const std::exception& error) in TEST()
152 ADD_FAILURE() << "Should not have caught exception."; in TEST()
196 catch (const std::exception& error) in TEST()
198 ADD_FAILURE() << "Should not have caught exception."; in TEST()
212 catch (const std::exception& error) in TEST()
[all …]
/openbmc/u-boot/arch/microblaze/cpu/
H A Dexception.c16 /* loading address of exception EAR */ in _hw_exception_handler()
20 printf("Hardware exception at 0x%x address\n", address); in _hw_exception_handler()
22 printf("Return address from exception 0x%x\n", address); in _hw_exception_handler()
23 switch (state & 0x1f) { /* mask on exception cause */ in _hw_exception_handler()
25 puts("Unaligned data access exception\n"); in _hw_exception_handler()
28 puts("Illegal op-code exception\n"); in _hw_exception_handler()
31 puts("Instruction bus error exception\n"); in _hw_exception_handler()
34 puts("Data bus error exception\n"); in _hw_exception_handler()
37 puts("Divide by zero exception\n"); in _hw_exception_handler()
41 puts("Priviledged or stack protection violation exception\n"); in _hw_exception_handler()
[all …]
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpsr.h29 EXCEPTION TRAP ENABLE BYTE
31 CUMULATIVE EXCEPTION FLAGS BYTE
48 /* EXCEPTION TRAP ENABLE BYTE
53 #define BIT_IXE 0x00100000 /* inexact exception enable */
54 #define BIT_UFE 0x00080000 /* underflow exception enable */
55 #define BIT_OFE 0x00040000 /* overflow exception enable */
56 #define BIT_DZE 0x00020000 /* divide by zero exception enable */
57 #define BIT_IOE 0x00010000 /* invalid operation exception enable */
69 #define BIT_NE 0x00000200 /* NaN exception bit */
72 /* CUMULATIVE EXCEPTION FLAGS BYTE
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp9 #include <exception>
22 namespace exception namespace
25 /** Base exception class for all sdbusplus exceptions, including those created
27 struct exception : public std::exception struct
40 // users can inherit from our exception type directly.
44 /** base exception class for all errors created by the sdbus++ generator */
45 struct generated_exception : public exception
58 /** base exception for all new errors and events created by the sdbus++
95 /** base exception class for all errors generated by sdbusplus itself. */
96 struct internal_exception : public exception
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dexception.c37 * If the exception was raised from a delay slot, come back to in exception_resume_pc()
46 void helper_raise_exception_err(CPUMIPSState *env, uint32_t exception, in helper_raise_exception_err() argument
49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
52 void helper_raise_exception(CPUMIPSState *env, uint32_t exception) in helper_raise_exception() argument
54 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
62 static void raise_exception(CPUMIPSState *env, uint32_t exception) in raise_exception() argument
64 do_raise_exception(env, exception, 0); in raise_exception()
131 const char *mips_exception_name(int32_t exception) in mips_exception_name() argument
133 if (exception < 0 || exception > EXCP_LAST) { in mips_exception_name()
136 return excp_names[exception]; in mips_exception_name()
[all …]
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Delog.hpp5 #include <sdbusplus/exception.hpp>
79 * thrown is the corresponding sdbusplus exception. However, there's a need
97 * entry with a specified exception name
98 * @param[in] name - name of the error exception
116 * @param[in] name - name of the error exception
131 // Validate if the exception is derived from sdbusplus::exception. in commit()
135 !std::is_base_of_v<sdbusplus::exception::generated_event<T>, T>, in commit()
151 // Validate if the exception is derived from sdbusplus::exception. in commit()
155 !std::is_base_of_v<sdbusplus::exception::generated_event<T>, T>, in commit()
170 // Validate if the exception is derived from sdbusplus::exception. in elog()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/
H A D0003-Support-transformation-between-D-Bus-errors-and-exce.patch39 +You can map D-Bus errors to your exception classes for better error handling.
45 + class InvalidArgsException(Exception):
58 + class MyException(Exception):
66 +And catch the same exception on the client side::
73 … all unknown D-Bus errors, use the ``@map_by_default`` decorator to specify the default exception::
78 + class DefaultException(Exception):
96 + """Register and map decorated exception class to a DBus error."""
105 + """Map decorated exception class to a DBus error."""
114 + """Map decorated exception class to all unknown DBus errors."""
127 + """Set the exception class as a default."""
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_efi_selftest.py21 raise Exception('Failures occurred during the EFI selftest')
25 raise Exception('Reset failed during the EFI selftest')
39 raise Exception('Reset failed in \'device tree\' test')
51 raise Exception('Reset failed in \'watchdog reboot\' test')
67 raise Exception('No prompt for \'text input\' test')
76 raise Exception('EOT failed in \'text input\' test')
84 raise Exception('BS failed in \'text input\' test')
92 raise Exception('BS failed in \'text input\' test')
100 raise Exception('\'a\' failed in \'text input\' test')
108 raise Exception('UP failed in \'text input\' test')
[all …]
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp3 #include <sdbusplus/exception.hpp>
24 using sdbusplus::exception::SdBusError;
42 sdbusplus::exception::exception& sdbusErr = err; in TEST()
47 std::exception& stdErr = sdbusErr; in TEST()
55 // Make sure no exception is thrown on construction in TEST()
166 * std::exception in TEST()
167 * -> sdbusplus::exception::exception in TEST()
168 * -> sdbusplus::exception::internal_exception in TEST()
169 * -> sdbusplus::exception::SdBusError in TEST()
174 sdbusplus::exception::internal_exception); in TEST()
[all …]
/openbmc/qemu/target/openrisc/
H A Dinterrupt.c32 int exception = cs->exception_index; in openrisc_cpu_do_interrupt() local
38 if (exception == EXCP_ILLEGAL) { in openrisc_cpu_do_interrupt()
42 /* During exceptions esr is populared with the pre-exception sr. */ in openrisc_cpu_do_interrupt()
45 set the delay slot exception flag. */ in openrisc_cpu_do_interrupt()
55 /* Set/clear dsx to indicate if we are in a delay slot exception. */ in openrisc_cpu_do_interrupt()
62 if (exception == EXCP_SYSCALL || exception == EXCP_FPE) { in openrisc_cpu_do_interrupt()
67 if (exception > 0 && exception < EXCP_NR) { in openrisc_cpu_do_interrupt()
87 int_name[exception]); in openrisc_cpu_do_interrupt()
89 hwaddr vect_pc = exception << 8; in openrisc_cpu_do_interrupt()
98 cpu_abort(cs, "Unhandled exception 0x%x\n", exception); in openrisc_cpu_do_interrupt()
/openbmc/qemu/tests/tcg/s390x/
H A Dsignals-s390x.c44 enum exception { enum
54 enum exception exception; member
78 switch (expected.exception) { in handle_signal()
110 static void check_sigsegv(void *func, enum exception exception, in check_sigsegv() argument
118 prot = exception == exception_translation ? PROT_NONE : PROT_READ; in check_sigsegv()
121 if (exception == exception_translation) { in check_sigsegv()
131 expected.exception = exception; in check_sigsegv()
157 safe_puts("[ RUN ] Operation exception"); in main_1()
161 expected.exception = exception_operation; in main_1()
165 safe_puts("[ RUN ] Translation exception from stg"); in main_1()
[all …]
/openbmc/qemu/target/ppc/
H A Dexcp_helper.c2 * PowerPC exception emulation helpers for QEMU.
34 /* Exception processing */
203 "Unsupported exception %d in Power Save mode\n", excp); in powerpc_reset_wakeup()
361 /* Reset exception state */ in powerpc_reset_excp_state()
427 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_40x()
436 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_40x()
443 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_40x()
446 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_40x()
451 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_40x()
453 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_40x()
[all …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DGPL-3.0-with-autoconf-exception4 AUTOCONF CONFIGURE SCRIPT EXCEPTION
12Exception is an additional permission under section 7 of the GNU General Public License, version 3…
14 The purpose of this Exception is to allow distribution of Autoconf`s typical output under terms of …
24 …then you void this Exception for the resulting covered work. If you convey that resulting covered …
27 The availability of this Exception does not imply any general presumption that third-party software…
H A DGPL-3-with-bison-exception4 Bison Exception
5exception, you may create a larger work that contains part or all of the Bison parser skeleton and…
6 This special exception was added by the Free Software Foundation in version 2.2 of Bison.
H A DGPL-2.0-with-font-exception4 Font Exception
5 As a special exception, if you create a document which uses this font, and
8 General Public License. This exception does not however invalidate any other
10 you modify this font, you may extend this exception to your version of the
12 this exception statement from your version.

12345678910>>...73