2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 namespace Tizen.Multimedia
22 /// The base exception class that is thrown when specific camera related error occurs.
24 /// <since_tizen> 3 </since_tizen>
25 public class CameraException : Exception
28 /// Initializes a new instance of the <see cref="CameraException"/> class.
30 /// <since_tizen> 3 </since_tizen>
31 public CameraException() : base()
36 /// Initializes a new instance of the <see cref="CameraException"/> class with a specified error message.
38 /// <param name="message">A specified error message.</param>
39 /// <since_tizen> 3 </since_tizen>
40 public CameraException(string message) : base(message)
46 /// The exception that is thrown when a camera device-related error occurs.
48 /// <since_tizen> 3 </since_tizen>
49 public class CameraDeviceException : CameraException
52 /// Initializes a new instance of the <see cref="CameraDeviceException"/> class.
54 /// <since_tizen> 3 </since_tizen>
55 public CameraDeviceException() : base()
60 /// Initializes a new instance of the <see cref="CameraDeviceException"/> class with a specified error message.
62 /// <param name="message">A specified error message.</param>
63 /// <since_tizen> 3 </since_tizen>
64 public CameraDeviceException(string message) : base(message)
70 /// The exception that is thrown when a camera device is not available.
72 /// <since_tizen> 3 </since_tizen>
73 public class CameraDeviceNotFoundException : CameraException
76 /// Initializes a new instance of the <see cref="CameraDeviceNotFoundException"/> class.
78 /// <since_tizen> 3 </since_tizen>
79 public CameraDeviceNotFoundException() : base()
84 /// Initializes a new instance of the <see cref="CameraDeviceNotFoundException"/> class with a specified error message.
86 /// <param name="message">A specified error message.</param>
87 /// <since_tizen> 3 </since_tizen>
88 public CameraDeviceNotFoundException(string message) : base(message)