summaryrefslogtreecommitdiff
path: root/src/main/kotlin/MsizeValueTooBigException.kt
blob: 873258b24002e833b359ec72e3db3803214a388b (plain)
1
2
3
4
5
6
7
8
/**
 * This exception is thrown when the `msize` value sent by the server is bigger than that sent by the client during the
 * version transaction.
 *
 * @param maxClientValue The value requested by the client.
 * @param receivedValue The value sent by the server.
 */
class MsizeValueTooBigException(val maxClientValue: UInt, val receivedValue: UInt) : Exception("Msize value too big: $receivedValue > $maxClientValue")