Skip to content

Commit

Permalink
fix: Suppress stack trace log as intended in #257. (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed May 12, 2022
1 parent dec3a87 commit f41542d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/ice4j/stack/NetAccessManager.java
Expand Up @@ -628,7 +628,7 @@ void sendMessage(
Connector ap = getConnector(srcAddr, remoteAddr);
if (ap == null)
{
throw new IllegalArgumentException("No socket found for " + srcAddr + "->" + remoteAddr);
throw new SocketNotFoundException("No socket found for " + srcAddr + "->" + remoteAddr);
}

ap.sendMessage(bytes, remoteAddr);
Expand Down

0 comments on commit f41542d

Please sign in to comment.