Skip to content

Commit

Permalink
OSCErrors separated
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Sep 1, 2024
1 parent 2450007 commit aafef0e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions xemantic-osc-api/src/commonMain/kotlin/OscErrors.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* xemantic-osc - Kotlin idiomatic and multiplatform OSC protocol support
* Copyright (C) 2024 Kazimierz Pogoda
*
* This file is part of xemantic-osc.
*
* xemantic-osc is free software: you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* xemantic-osc is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with xemantic-osc.
* If not, see <https://www.gnu.org/licenses/>.
*/

package com.xemantic.osc

public open class OscException(
message: String,
cause: Exception? = null
) : RuntimeException(message, cause)

public class OscInputException(
message: String,
cause: Exception? = null
) : OscException(message, cause)

public class OscOutputException(
message: String,
cause: Exception? = null
) : OscException(message, cause)

0 comments on commit aafef0e

Please sign in to comment.