# ServiceException

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

```java
public class ServiceException extends RuntimeException
```

The base exception type used by [`WinServices`](WinServices.md).

## Constructors

| Signature | Description |
|---|---|
| [`protected ServiceException(String)`](#serviceexception-string) |  |
| [`protected ServiceException()`](#serviceexception) |  |

### protected ServiceException(String)

```java
protected ServiceException(String message)
```

### protected ServiceException()

```java
protected ServiceException()
```

