Exceptions¶
DockableNotFoundException¶
Thrown when a dockable is not found when restoring a DockingLayout
Note
Thrown by
DockingState.restoreState
DockableRegistrationFailureException¶
Thrown when a dockable with the
persistentIDhas already been registeredNote
Thrown by
Docking.registerDockable
DockingLayoutException¶
This exception is thrown when there is an issue saving or loading a layout file. The exception provides the file that failed and the failure type
Note
Thrown by
AppState.restore,LayoutPersistence.saveLayoutToFileandLayoutPersistence.loadApplicationLayoutFromFile
NotDockedException¶
This exception is thrown when Modern Docking attempts to use a dockable that should be docked but isn’t. Thrown when the target dockable when docking is not docked or when attempting to bring a dockable to front that isn’t already docked
Note
Thrown by
Docking.dockandDocking.bringToFront
RootDockingPanelNotFoundException¶
Thrown when the root for a window is not found
Note
Thrown by
Docking.configurePinning,Docking.dockandDockingComponentUtils.rootForWindow
RootDockingPanelRegistrationFailureException¶
Thrown when Modern Docking fails to register a
RootDockingPanelbecause one is already registered for the windowNote
Thrown by
Docking.registerDockingPanel