25#include <rtl/string.hxx>
26#include <rtl/textenc.h>
27#include <rtl/ustring.hxx>
49 std::vector< OString > list;
50 bool bRuntimeException =
false;
51 for (OString
n(
name);
n !=
"com.sun.star.uno.Exception";) {
52 if (
n ==
"com.sun.star.uno.RuntimeException") {
53 bRuntimeException =
true;
66 if (bRuntimeException)
70 for (std::vector< OString >::reverse_iterator
i(list.rbegin());
73 if (
i == list.rend()) {
77 for (ExceptionTreeNode::Children::iterator j(
85 if ((*j)->name == *
i) {
Represents the hierarchy formed by a set of UNO exception types.
void add(rtl::OString const &name, rtl::Reference< TypeManager > const &manager)
Builds the exception hierarchy, by adding one exception type at a time.
rtl::Reference< ParseManager > manager
Sort
An enumeration of all the sorts of relevant UNOIDL entities.
Represents a node of the hierarchy from the ExceptionTree class.
ExceptionTreeNode * add(rtl::OString const &theName)
ExceptionTreeNode(rtl::OString theName)
OUString b2u(std::string_view s)
OString u2b(std::u16string_view s)