summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/MsizeValueTooBigException.kt
blob: f1f6da1b6727bc4597615a112dc15666c57e1c80 (plain)
1
2
3
4
5
6
7
8
9
10
package except

/**
 * 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")