X Tutup
Skip to content

Catch more generic FileSystemException in NamedPipeSocket#1418

Merged
bsideup merged 1 commit intomasterfrom
catch_FileSystemException_in_npipe
Jun 19, 2020
Merged

Catch more generic FileSystemException in NamedPipeSocket#1418
bsideup merged 1 commit intomasterfrom
catch_FileSystemException_in_npipe

Conversation

@bsideup
Copy link
Copy Markdown
Member

@bsideup bsideup commented Jun 19, 2020

When npipe is busy, it throws the following exception:
java.nio.file.FileSystemException: \\.\pipe\docker_engine: All pipe instances are busy.

The previous, RandomAccessFile-base implementation was catching it as FileNotFoundException.
But the NIO-based one seems to be throwing a generic FileSystemException.

When npipe is busy, it throws the following exception:
`java.nio.file.FileSystemException: \\.\pipe\docker_engine: All pipe instances are busy.`

The previous, RandomAccessFile-base implementation was catching it as `FileNotFoundException`.
But the NIO-based one seems to be throwing a generic `FileSystemException`.
@bsideup bsideup added this to the next milestone Jun 19, 2020
@bsideup bsideup merged commit 54c86ce into master Jun 19, 2020
@bsideup bsideup deleted the catch_FileSystemException_in_npipe branch June 19, 2020 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup