Exception Summary An exception (represented via the System.Exception class) represents an error incident that an application may experience during execution. Description An exception (represented via the System.Exception class) represents an error incident that an application may experience during execution. Examples Basic Usage 12345678import System; try { throw new System.Exception("Exception message");}catch(System.Exception e) { Console.error(e);} Methods Exception (Constructor)Constructs a System.Exception object. getMessageReturns a detailed message relating to the exception. toStringReturns the string representation of the exception in the format: FQN: EXCEPTION MESSAGE Share HTML | BBCode | Direct Link