diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt index dc805f8f..71b2fe10 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt @@ -66,7 +66,7 @@ open class ResponseParser { InstituteSegmentId.UserParameters.id -> parseUserParameters(segment, dataElementGroups) InstituteSegmentId.AccountInfo.id -> parseAccountInfo(segment, dataElementGroups) - else -> null + else -> UnparsedSegment(segment) } } diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/UnparsedSegment.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/UnparsedSegment.kt new file mode 100644 index 00000000..bfdc09e2 --- /dev/null +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/segments/UnparsedSegment.kt @@ -0,0 +1,4 @@ +package net.dankito.fints.response.segments + + +open class UnparsedSegment(segmentString: String) : ReceivedSegment(segmentString) \ No newline at end of file