SugarException

Overview

Base class for Sugar exceptions.

Location

Instance Methods


constructor

Creates a new instance of the class.

 

constructor

 

SugarException()

 

init()

 

SugarException()

constructor (String)

Creates a new instance of the class with specified message.

 

constructor(aMessage: String)

 

SugarException(String aMessage)

 

init(_ aMessage: String)

 

SugarException(String aMessage)

Parameters:

  • aMessage: The exception message.

constructor (String, array of Object)

Creates a new instance of the class with formated message. Formating performed by the String method.

 

constructor(aFormat: String; params aParams: array of Object)

 

SugarException(String aFormat, params Object[] aParams)

 

init(_ aFormat: String, _ aParams: Object...)

 

SugarException(String aFormat, Object[]... aParams)

Parameters:

  • aFormat: Format of tje message.
  • aParams: Array of objects to format.

Descendants