Skip to content

Commit b1ecefe

Browse files
Automated commit of generated code
1 parent 835d7e3 commit b1ecefe

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
package org.jetbrains.kotlinx.dataframe.exceptions
22

33
public class ColumnNotFoundException(public val columnName: String, public override val message: String) :
4-
RuntimeException()
4+
RuntimeException(),
5+
DataFrameException
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.jetbrains.kotlinx.dataframe.exceptions
2+
3+
/**
4+
* If DataFrame function used by compiler plugin as implementation detail throws this exception, [message] will be reported as warning
5+
*/
6+
public interface DataFrameException {
7+
public val message: String
8+
}

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/exceptions/DuplicateColumnNamesException.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package org.jetbrains.kotlinx.dataframe.exceptions
22

3-
public class DuplicateColumnNamesException(public val allColumnNames: List<String>) : IllegalArgumentException() {
3+
public class DuplicateColumnNamesException(public val allColumnNames: List<String>) :
4+
IllegalArgumentException(),
5+
DataFrameException {
46

57
public val duplicatedNames: List<String> = allColumnNames
68
.groupBy { it }

0 commit comments

Comments
 (0)