InvalidKeyException class final
Thrown when an invalid encryption key is supplied (e.g. wrong length).
- Inheritance
-
- Object
- SuperCacheException
- InvalidKeyException
Constructors
- InvalidKeyException(int expected, int actual)
- Creates an InvalidKeyException.
Properties
- cause → Object?
-
The underlying exception that caused this error, if any.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description of the error.
finalinherited
- 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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited