Packageorg.servebox.commons.errors
Classpublic class SingletonError
InheritanceSingletonError Inheritance Error

A SingletonError is thrown every time when you try to instantiate singleton object that is already instantiated.



Public Properties
 PropertyDefined by
  code : int
The code of the error.
SingletonError
Public Methods
 MethodDefined by
  
SingletonError(message:String = null, code:int = 0)
Creates a new SingletonError.
SingletonError
Property detail
codeproperty
public var code:int

The code of the error.

Constructor detail
SingletonError()constructor
public function SingletonError(message:String = null, code:int = 0)

Creates a new SingletonError.

Parameters
message:String (default = null)
 
code:int (default = 0)