diff --git a/src/dorkbox/network/aeron/client/ClientException.kt b/src/dorkbox/network/aeron/client/ClientException.kt index 36d2a9f0..43d12008 100644 --- a/src/dorkbox/network/aeron/client/ClientException.kt +++ b/src/dorkbox/network/aeron/client/ClientException.kt @@ -17,4 +17,12 @@ open class ClientException : Exception { * @param cause The cause */ constructor(cause: Throwable) : super(cause) + + /** + * Create an exception. + * + * @param message The message + * @param cause The cause + */ + constructor(message: String, cause: Throwable?) : super(message, cause) } diff --git a/src/dorkbox/network/aeron/server/ServerException.kt b/src/dorkbox/network/aeron/server/ServerException.kt index 0eb43318..7d70ed28 100644 --- a/src/dorkbox/network/aeron/server/ServerException.kt +++ b/src/dorkbox/network/aeron/server/ServerException.kt @@ -17,4 +17,12 @@ open class ServerException : Exception { * @param cause The cause */ constructor(cause: Throwable) : super(cause) + + /** + * Create an exception. + * + * @param message The message + * @param cause The cause + */ + constructor(message: String, cause: Throwable?) : super(message, cause) }