Skip to content

Commit

Permalink
texts
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 22, 2017
1 parent ae141b0 commit ee5213e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/cactoos/io/NotNullInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public NotNullInput(final Input input) {
@Override
public InputStream stream() throws IOException {
if (this.origin == null) {
throw new IOException("invalid input (null)");
throw new IOException("NULL instead of a valid input");
}
return this.origin.stream();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/cactoos/io/NotNullOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public NotNullOutput(final Output output) {
@Override
public OutputStream stream() throws IOException {
if (this.origin == null) {
throw new IOException("invalid output (null)");
throw new IOException("NULL instead of a valid output");
}
return this.origin.stream();
}
Expand Down

0 comments on commit ee5213e

Please sign in to comment.