getMessage Summary Returns a detailed message relating to the exception. Usage public virtual string getMessage() Returns The exception detail message. Description Returns a detailed message relating to the exception. Examples Basic Usage 12345678import System; try { throw new System.Exception("This is a test.");}catch(System.Exception e) { Console.error(e.getMessage()); // "This is a test."} Share HTML | BBCode | Direct Link