xception.hxx (1be3ed10) xception.hxx (d98e0520)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 11 unchanged lines hidden (view full) ---

20 *************************************************************/
21
22
23
24#ifndef _XCEPTION_HXX_
25#define _XCEPTION_HXX_
26
27#include <vos/object.hxx>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 11 unchanged lines hidden (view full) ---

20 *************************************************************/
21
22
23
24#ifndef _XCEPTION_HXX_
25#define _XCEPTION_HXX_
26
27#include <vos/object.hxx>
28#include <vos/vosdllapi.h>
28
29#ifdef _MSC_VER
30#pragma warning( disable : 4290 )
31#endif
32
33namespace vos
34{
35

--- 15 unchanged lines hidden (view full) ---

51 */
52
53#define THROWS( ARG ) throw ARG
54
55/*
56 * just a base class for further exceptions
57 */
58
29
30#ifdef _MSC_VER
31#pragma warning( disable : 4290 )
32#endif
33
34namespace vos
35{
36

--- 15 unchanged lines hidden (view full) ---

52 */
53
54#define THROWS( ARG ) throw ARG
55
56/*
57 * just a base class for further exceptions
58 */
59
59class OException : public OObject
60class VOS_DLLPUBLIC OException : public OObject
60{
61 VOS_DECLARE_CLASSINFO(VOS_NAMESPACE(OException, vos));
62
63public:
64 virtual ~OException();
65 OException() {}
66 OException( const OException & ) : OObject() {}
67
68 OException& SAL_CALL operator=(const OException&)
69 { return *this; }
70};
71
72}
73
74#endif /* _XCEPTION_HXX_ */
75
61{
62 VOS_DECLARE_CLASSINFO(VOS_NAMESPACE(OException, vos));
63
64public:
65 virtual ~OException();
66 OException() {}
67 OException( const OException & ) : OObject() {}
68
69 OException& SAL_CALL operator=(const OException&)
70 { return *this; }
71};
72
73}
74
75#endif /* _XCEPTION_HXX_ */
76