Package com.github.robtimus.filesystems
Class Messages.DirectoryStreamMessages
- java.lang.Object
-
- com.github.robtimus.filesystems.Messages.DirectoryStreamMessages
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IllegalStateException
closed()
Creates an exception that can be closed ifDirectoryStream.iterator()
is called on a closed directory stream.IllegalStateException
iteratorAlreadyReturned()
Creates an exception that can be closed ifDirectoryStream.iterator()
is called after the iterator was already returned.
-
-
-
Method Detail
-
closed
public IllegalStateException closed()
Creates an exception that can be closed ifDirectoryStream.iterator()
is called on a closed directory stream.- Returns:
- The created exception.
-
iteratorAlreadyReturned
public IllegalStateException iteratorAlreadyReturned()
Creates an exception that can be closed ifDirectoryStream.iterator()
is called after the iterator was already returned.- Returns:
- The created exception.
-
-