aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_seq_numbers.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-11-23 18:38:14 -0500
committerJack Lloyd <[email protected]>2018-11-23 18:38:14 -0500
commit761a7f36f708b44c7af1dc9387f324d509b4acf6 (patch)
tree43ee497eb84b98c1f1e04a7e60d95b531ba0a88a /src/lib/tls/tls_seq_numbers.h
parentae42de8433260a37360d60b0a21665e13c4a63e8 (diff)
parentb909778857b3e0b7eb86ac26c818e5f25baaddbd (diff)
Merge GH #1744 Make exception throws easier to debug
Diffstat (limited to 'src/lib/tls/tls_seq_numbers.h')
-rw-r--r--src/lib/tls/tls_seq_numbers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_seq_numbers.h b/src/lib/tls/tls_seq_numbers.h
index 1be280453..85077f5f5 100644
--- a/src/lib/tls/tls_seq_numbers.h
+++ b/src/lib/tls/tls_seq_numbers.h
@@ -79,7 +79,7 @@ class Datagram_Sequence_Numbers final : public Connection_Sequence_Numbers
uint64_t next_read_sequence() override
{
- throw Exception("DTLS uses explicit sequence numbers");
+ throw Invalid_State("DTLS uses explicit sequence numbers");
}
bool already_seen(uint64_t sequence) const override