DialogException
classin packageklyn.gui.windows.dialogs
public class DialogException extends Exception:
└ DialogException

Reports a file or folder dialog backend failure.

User cancellation is not an error and is reported by showDialog() returning false. This exception is reserved for failures such as an unavailable filesystem resource or an operating-system dialog error.

import klyn.gui.windows.dialogs

try:
OpenFileDialog().showDialog()
catch error as DialogException:
print(error.message)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public DialogException
DialogException(message as String = ""):
Creates a dialog exception.
Inherited Methods
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toString, toXml