# JournaledStatePreCommitException

Package: [Microsoft.Orleans.Durable](/orleans/docs/api/csharp/microsoft.orleans.durable/) 10.0.0-alpha.1

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournaledStatePreCommitException.cs#L12)

```csharp
[Orleans.GenerateSerializer]
[Orleans.Alias(Orleans.Durable.Journaling.JournaledStatePreCommitException)]
public sealed class JournaledStatePreCommitException : Exception
```

Reports a state preparation failure which prevented a journal write.

## Remarks

Pending changes remain staged and safe to commit. The caller can restore the prerequisite and explicitly retry persistence, or retire its owner and recover from durable state.

## Constructors

- [JournaledStatePreCommitException(Exception)](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journaledstateprecommitexception/constructors/constructor-system-exception-53e4cb7f/)
