SugarFileNotFoundException

Overview

Represents exception that is thrown when specific file can not be found.

Location

Properties


FileName

Gets name of the file.

 

property FileName: String read;

 

String FileName { get; }

 

var FileName: String { get{} }

 

String FileName { __get; }

Instance Methods


constructor    (declared in SugarException)

Creates a new instance of the class.

 

constructor

 

SugarFileNotFoundException()

 

init()

 

SugarFileNotFoundException()

constructor (String)

 

constructor(aFileName: String)

 

SugarFileNotFoundException(String aFileName)

 

init(_ aFileName: String)

 

SugarFileNotFoundException(String aFileName)

Parameters:

  • aFileName:

constructor (String, array of Object)    (declared in SugarException)

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

 

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

 

SugarFileNotFoundException(String aFormat, params Object[] aParams)

 

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

 

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

Parameters:

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