AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
malformeduriexception.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 
4 #ifndef INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX
5 #define INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX
6 
7 #include "rtl/ustring.hxx"
8 
9 namespace rtl {
10 
16 {
17 public:
24  rtl::OUString const & rMessage): m_aMessage(rMessage) {}
25 
27  MalformedUriException const & other): m_aMessage(other.m_aMessage) {}
28 
30 
32  MalformedUriException const & rOther)
33  { m_aMessage = rOther.m_aMessage; return *this; }
34 
42  { return m_aMessage; }
43 
44 private:
45  rtl::OUString m_aMessage;
46 };
47 
48 }
49 
50 #endif // INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX
51 
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
An exception indicating a malformed URI.
Definition: malformeduriexception.hxx:15
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:182
SAL_EXCEPTION_DLLPRIVATE MalformedUriException(rtl::OUString const &rMessage)
Create a MalformedUriException.
Definition: malformeduriexception.hxx:23
#define SAL_EXCEPTION_DLLPRIVATE
Definition: types.h:248
#define SAL_EXCEPTION_DLLPUBLIC_EXPORT
Exporting the symbols necessary for exception handling on GCC.
Definition: types.h:247
SAL_EXCEPTION_DLLPRIVATE ~MalformedUriException()
Definition: malformeduriexception.hxx:29
SAL_EXCEPTION_DLLPRIVATE rtl::OUString const & getMessage() const
Get the message.
Definition: malformeduriexception.hxx:41
SAL_EXCEPTION_DLLPRIVATE MalformedUriException(MalformedUriException const &other)
Definition: malformeduriexception.hxx:26