# ServiceNotFoundException

Import: `import com.install4j.api.windows.service.ServiceNotFoundException;`

```java
public class ServiceNotFoundException extends ServiceException
```

This exception is thrown when a call to [`WinServices`](WinServices.md) was made with a non-existing service name.

## Constructors

| Signature | Description |
|---|---|
| [`ServiceNotFoundException()`](#servicenotfoundexception) |  |

### ServiceNotFoundException()

```java
public ServiceNotFoundException()
```

