SugarAppContextMissingException

Overview

Represents error that occur when trying to use methods that requires Environment but it is not set.

Location

Class Methods


RaiseIfMissing

Raises exception if Environment is nil.

 

class method RaiseIfMissing

 

static void RaiseIfMissing()

 

static func RaiseIfMissing()

 

static void RaiseIfMissing()

Instance Methods


constructor

Creates a new instance of the class.

 

constructor

 

SugarAppContextMissingException()

 

init()

 

SugarAppContextMissingException()

constructor (String)

 

constructor(aMessage: String)

 

SugarAppContextMissingException(String aMessage)

 

init(_ aMessage: String)

 

SugarAppContextMissingException(String aMessage)

Parameters:

  • aMessage:

constructor (String, array of Object)

 

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

 

SugarAppContextMissingException(String aFormat, params Object[] aParams)

 

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

 

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

Parameters:

  • aFormat:
  • aParams: