io.gitlab.arturbosch.detekt.cli.Errors.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of detekt-cli Show documentation
Show all versions of detekt-cli Show documentation
Static code analysis for Kotlin
package io.gitlab.arturbosch.detekt.cli
/**
* Thrown when more issues are found than specified by maxIssues config property.
*/
class BuildFailure(override val message: String) : RuntimeException(message, null, true, false)
/**
* Thrown when --help is requested.
*/
class HelpRequest : RuntimeException()
/**
* Thrown when parsing arguments by JCommander and validating them further.
* As the parsing logic prints the --help message along other parameter errors,
* this exception signals the main loop that no further printing is necessary.
*/
class HandledArgumentViolation : RuntimeException()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy