Packagecom.sibirjak.angara.resource
Classpublic class LoadingError



Public Properties
 PropertyDefined by
  ACCESS_DENIED : String = "content_access_not_permitted"
[static] Accessing the loaded content not permitted.
LoadingError
  error : Error
[read-only] Returns the Flash Error, if the loading failure is a result of a Flash exception.
LoadingError
  failureMessage : String
[read-only] Returns a more detailed error message in cases of loading failures.
LoadingError
  FILE_NOT_FOUND : String = "file_not_found"
[static] Server returns a 404 error, or the file could not be found in the file system.
LoadingError
  loader : IResourceLoader
[read-only] Returns the affected resource loader.
LoadingError
  LOADING_DENIED : String = "loading_not_permitted"
[static] Loading of a resource from a not permitted realm.
LoadingError
  TIMEOUT : String = "timeout"
[static] No raise in progress after the specified timeout period.
LoadingError
  type : String
[read-only] Returns the type of the loading error.
LoadingError
Public Methods
 MethodDefined by
  
LoadingError(type:String, loader:IResourceLoader, message:String = "", error:Error = null)
Creates a new LoadingError object.
LoadingError
  
toString():String
Info
LoadingError
Property detail
ACCESS_DENIEDproperty
public static var ACCESS_DENIED:String = "content_access_not_permitted"

Accessing the loaded content not permitted.

The Flash Loader may load a resource successfully but can't display it afterwards.

Possible reasons:

errorproperty 
error:Error  [read-only]

Returns the Flash Error, if the loading failure is a result of a Flash exception.

Exception may have been thrown for the types LOADING_DENIED and ACCESS_DENIED.

Implementation
    public function get error():Error
failureMessageproperty 
failureMessage:String  [read-only]

Returns a more detailed error message in cases of loading failures.

Implementation
    public function get failureMessage():String
FILE_NOT_FOUNDproperty 
public static var FILE_NOT_FOUND:String = "file_not_found"

Server returns a 404 error, or the file could not be found in the file system.

loaderproperty 
loader:IResourceLoader  [read-only]

Returns the affected resource loader.

Implementation
    public function get loader():IResourceLoader
LOADING_DENIEDproperty 
public static var LOADING_DENIED:String = "loading_not_permitted"

Loading of a resource from a not permitted realm.

Possible reasons:

TIMEOUTproperty 
public static var TIMEOUT:String = "timeout"

No raise in progress after the specified timeout period.

typeproperty 
type:String  [read-only]

Returns the type of the loading error.

Implementation
    public function get type():String
Constructor detail
LoadingError()constructor
public function LoadingError(type:String, loader:IResourceLoader, message:String = "", error:Error = null)

Creates a new LoadingError object.

Parameters
type:String
 
loader:IResourceLoader
 
message:String (default = "")
 
error:Error (default = null)
Method detail
toString()method
public function toString():String

Info

Returns
String