JailbreakAppException class abstract

Base class for exceptions thrown when a jailbreak or root detection check fails or errors.

Subclasses represent the two detection modes: a single check that returned a positive result (SingleJailbreakException) and a multi-check scan that found one or more issues (MultiJailbreakException).

See also:

Inheritance
Implementers

Constructors

JailbreakAppException({required String checkName, required String message, Object? originalError, StackTrace? originalStackTrace})
Creates a jailbreak exception for the given checkName and message.
const

Properties

checkName String
The name of the jailbreak or root detection check that triggered this exception, used for logging and diagnostics.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the error.
finalinherited
originalError Object?
The underlying error that caused this exception, or null if the detection itself completed without an error.
final
originalStackTrace StackTrace?
The stack trace associated with originalError, or null if unavailable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
The string representation of this exception for debugging.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited