balin / com.github.epadronu.balin.exceptions / BalinException

BalinException

open class BalinException : RuntimeException

The class BalinException and its subclasses indicate that something has gone wrong with Balin.

RuntimeException was chosen as the base-class in order to avoid BalinException and its subclasses to be checked exceptions in Java.

Constructors

<init>

BalinException()

Constructs a new exception with null as its detail message.

BalinException(message: String)

Constructs a new exception with the specified detail message.

BalinException(message: String, cause: Throwable?)

Constructs a new exception with the specified detail message and cause.

BalinException(cause: Throwable?)

Constructs a new exception with the specified cause and a detail message of (cause?.toString()) (which typically contains the class and detail message of cause).

BalinException(message: String, cause: Throwable?, enableSuppression: Boolean, writableStackTrace: Boolean)

Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.

Inheritors

MissingPageUrlException

class MissingPageUrlException : BalinException

This exception is thrown when either com.github.epadronu.balin.core.Browser.to or com.github.epadronu.balin.core.Page.click are used with a page that has not defined a url.

PageImplicitAtVerificationException

class PageImplicitAtVerificationException : BalinException

This exception is thrown when the implicit at verification of a page doesn't pass after the browser has tried navigating to it.