00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of the LibreOffice project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * This file incorporates work covered by the following license notice: 00010 * 00011 * Licensed to the Apache Software Foundation (ASF) under one or more 00012 * contributor license agreements. See the NOTICE file distributed 00013 * with this work for additional information regarding copyright 00014 * ownership. The ASF licenses this file to you under the Apache 00015 * License, Version 2.0 (the "License"); you may not use this file 00016 * except in compliance with the License. You may obtain a copy of 00017 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 00018 */ 00019 00020 #ifndef INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX 00021 #define INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX 00022 00023 #include "rtl/ustring.hxx" 00024 00025 namespace rtl { 00026 00031 class SAL_EXCEPTION_DLLPUBLIC_EXPORT MalformedUriException 00032 { 00033 public: 00039 inline SAL_EXCEPTION_DLLPRIVATE MalformedUriException( 00040 rtl::OUString const & rMessage): m_aMessage(rMessage) {} 00041 00042 inline SAL_EXCEPTION_DLLPRIVATE MalformedUriException( 00043 MalformedUriException const & other): m_aMessage(other.m_aMessage) {} 00044 00045 inline SAL_EXCEPTION_DLLPRIVATE ~MalformedUriException() {} 00046 00047 inline SAL_EXCEPTION_DLLPRIVATE MalformedUriException operator =( 00048 MalformedUriException const & rOther) 00049 { m_aMessage = rOther.m_aMessage; return *this; } 00050 00057 inline SAL_EXCEPTION_DLLPRIVATE rtl::OUString const & getMessage() const 00058 { return m_aMessage; } 00059 00060 private: 00061 rtl::OUString m_aMessage; 00062 }; 00063 00064 } 00065 00066 #endif // INCLUDED_RTL_MALFORMEDURIEXCEPTION_HXX 00067 00068 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */