All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.javalin.core.routing.ParserExceptions.kt Maven / Gradle / Ivy

package io.javalin.core.routing


class MissingBracketsException(segment: String, val path: String) : IllegalArgumentException(
    "This segment '$segment' is missing some brackets! Found in path '$path'"
)

class WildcardBracketAdjacentException(segment: String, val path: String) : IllegalArgumentException(
    "Wildcard and a path parameter bracket are adjacent in segment '$segment' of path '$path'. This is forbidden"
)

class ParameterNamesNotUniqueException(val path: String) : IllegalArgumentException(
    "Duplicate path param names detected! This is forbidden. Found in path '$path'"
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy