<aside> <img src="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" alt="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" width="40px" />

TABLE OF CONTENT

</aside>

:ij-kt-class: MalformedPathVariableException


Package dev.tommasop1804.kutils.exceptions
Since version 2.0.0
Extended class :ij-kt-class: MalformedInputException

Exception thrown when a path variable in a request is found to be malformed or invalid.

This exception is typically used to indicate issues with path variable resolution when dealing with server requests, where the variable name or type does not meet the expected format or requirements.

Inherited properties

:ij-field-value: internalErrorCode

Since version 2.0.0
Type :ij-kt-class: String?

Contains the internal error code of this exception. Is taken from the message (before @@@ string).

If the getter doesn’t find any error code, the getter returns null.

Constructors

constructor() : super()
constructor(message: String, internalErrorCode: String? = null) : super(message, internalErrorCode)
constructor(name: String?, `class`: KClass<*>?, cause: Throwable?, internalErrorCode: String? = null) : super("Path variable ${if (name.isNotNullOrBlank()) "`$name` " else String.EMPTY}is not valid${if (`class`.isNotNull()) " `${`class`.simpleName}`" else String.EMPTY}", cause, internalErrorCode)
constructor(name: String?, `class`: KClass<*>?, internalErrorCode: String? = null) : super("Path variable ${if (name.isNotNullOrBlank()) "`$name` " else String.EMPTY}is not valid${if (`class`.isNotNull()) " `${`class`.simpleName}`" else String.EMPTY}", internalErrorCode)

:ij-kt-class: MalformedQueryParamException


Package dev.tommasop1804.kutils.exceptions
Since version 2.0.0
Extended class :ij-kt-class: MalformedInputException

Exception thrown to indicate that a query parameter provided in an HTTP request is malformed or invalid.