1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Runtime.Serialization;
7
namespace ICSharpCode.Core
10
/// Is thrown when the ServiceManager cannot find a required service.
13
public class ServiceNotFoundException : CoreException
15
public ServiceNotFoundException() : base()
19
public ServiceNotFoundException(Type serviceType) : base("Required service not found: " + serviceType.FullName)
23
public ServiceNotFoundException(string message) : base(message)
27
public ServiceNotFoundException(string message, Exception innerException) : base(message, innerException)
31
protected ServiceNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)