AesCryptException class

Exception thrown when some error is happened. A type of the error is indicated by type class member.

At present there is only one type: AesCryptExceptionType.destFileExists. AesCryptException having AesCryptExceptionType.destFileExists type is thrown when overwrite mode set as AesCryptOwMode.warn and there is a file with the same name as the file which is going to be written during encryption or decryption process.

Implemented types

Constructors

AesCryptException(String message, AesCryptExceptionType type)
Creates a new AesCryptException with an error message message and type type.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Message describing the problem.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → AesCryptExceptionType
Type of an exception.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
override

Operators

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