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 public class CameraException : Exception
27 /// Initializes a new instance of the <see cref="CameraException"/> class.
29 public CameraException() : base()
34 /// Initializes a new instance of the <see cref="CameraException"/> class with a specified error message.
36 public CameraException(string message) : base(message)
42 /// The exception that is thrown when a camera device-related error occurs.
44 public class CameraDeviceException : CameraException
47 /// Initializes a new instance of the <see cref="CameraDeviceException"/> class.
49 public CameraDeviceException() : base()
54 /// Initializes a new instance of the <see cref="CameraDeviceException"/> class with a specified error message.
56 public CameraDeviceException(string message) : base(message)
62 /// The exception that is thrown when a camera device is not available.
64 public class CameraDeviceNotFoundException : CameraException
67 /// Initializes a new instance of the <see cref="CameraDeviceNotFoundException"/> class.
69 public CameraDeviceNotFoundException() : base()
74 /// Initializes a new instance of the <see cref="CameraDeviceNotFoundException"/> class with a specified error message.
76 public CameraDeviceNotFoundException(string message) : base(message)