Class: Toybox.Lang.Exception
- Inherits:
-
Toybox.Lang.Object
Overview
Exception is a class that represents a thrown Exception. Custom exceptions can be created by extending this class.
Direct Known Subclasses
Ant.EncryptionInvalidSettingsException, Ant.UnableToAcquireChannelException, Ant.UnableToAcquireEncryptedChannelException, AntPlus.AntPlusNotAllowedException, Application.ObjectStoreAccessException, Properties.InvalidKeyException, Attention.BacklightOnTooLongException, Background.ExitDataSizeLimitException, Background.InvalidBackgroundTimeException, Background.MessageSizeLimitException, BluetoothLowEnergy.DevicePairException, BluetoothLowEnergy.InvalidRequestException, BluetoothLowEnergy.ProfileRegistrationException, BluetoothLowEnergy.UuidFormatException, Complications.ComplicationNotFoundException, Cryptography.InvalidBlockSizeException, Graphics.InvalidBitmapResourceException, Graphics.InvalidPaletteException, Graphics.OutOfGraphicsMemoryException, Lang.InvalidOptionsException, Lang.InvalidValueException, Lang.OperationNotAllowedException, Lang.SerializationException, Lang.StorageFullException, Lang.SymbolNotAllowedException, Lang.UnexpectedTypeException, Lang.ValueOutOfBoundsException, Sensor.TooManySensorDataListenersException, StringUtil.InvalidHexStringException, System.AppNotInstalledException, System.PreviousOperationNotCompleteException, System.UnexpectedAppTypeException, Test.AssertException, Time.RealTimeClockNotValidException, WatchUi.InvalidMenuItemTypeException, WatchUi.InvalidPointException, WatchUi.InvalidSelectableStateException
Instance Method Summary collapse
-
getErrorMessage() as Lang.String or Null
Get the error message for the Exception.
-
initialize()
Exception constructor.
-
printStackTrace() as Void
Print the stack trace of the thrown Exception.
Instance Method Details
getErrorMessage() as Lang.String or Null
Get the error message for the Exception.
initialize()
Exception constructor.
printStackTrace() as Void
Print the stack trace of the thrown Exception.