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()

 

Shared Sub RaiseIfMissing()

Instance Methods


constructor

Creates a new instance of the class.

 

constructor

 

SugarAppContextMissingException()

 

init()

 

SugarAppContextMissingException()

 

Sub New()

constructor (String)

 

constructor(aMessage: String)

 

SugarAppContextMissingException(String aMessage)

 

init(_ aMessage: String)

 

SugarAppContextMissingException(String aMessage)

 

Sub New(aMessage As String)

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)

 

Sub New(aFormat As String, ParamArray aParams As Object())

Parameters:

  • aFormat:
  • aParams: