Skip to content

Commit

Permalink
Merge pull request #16 from grimley517/15-mark-exceptions-as-serialis…
Browse files Browse the repository at this point in the history
…able

add serializable attribute to exception
  • Loading branch information
grimley517 authored Mar 4, 2024
2 parents 9ac5ee6 + 9d052b4 commit 4ed89ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:
name: Build and analyze
runs-on: windows-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v4.1
- name: Set up JDK 21
uses: actions/setup-java@v4.1.0
with:
java-version: 11
java-version: 21
distribution: 'zulu' # Alternative distribution options are available.
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
uses: actions/cache@v4.0
uses: actions/cache@v4.0.1
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarCloud scanner
id: cache-sonar-scanner
uses: actions/cache@v4.0
uses: actions/cache@v4.0.1
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/// <summary>
/// A decimal did not pass validation,
/// </summary>
[Serializable]
public class DecimalValidationException : Exception{
/// <summary>
/// The input that failed validation
Expand Down

0 comments on commit 4ed89ec

Please sign in to comment.