SugarException

Instance Methods


constructor

Creates a new instance of the class.


Creates a new instance of the class with specified message.

constructor(aMessage: String)
SugarException(String aMessage)
SugarException(String aMessage)
Sub New(aMessage As String)

Parameters:

  • aMessage: The exception message.

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)
Sub New(aFormat As String, ParamArray aParams As Object())

Parameters:

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