Paket | com.adobe.icc.editors.managers |
Sınıf | public class ErrorManager |
Miras Alma | ErrorManager Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
ErrorManager
helps you handle errors occurring on the client.
It is a central place for handling all the validation/service errors and displaying the correct error message in the current user locale.
Özellik | Tanımlayan: | ||
---|---|---|---|
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
errorManagerImpl : IErrorManager [statik] [salt yazılır]
Method to override the error manager implementation
| ErrorManager |
Yöntem | Tanımlayan: | ||
---|---|---|---|
[statik]
Helper method for handling Document Composer faults. | ErrorManager | ||
[statik]
Helper method for handling server faults. | ErrorManager | ||
[statik]
Helper method for handling client domain validation errors. | ErrorManager | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void [statik]
Helper method for handling Document Composer user messages. | ErrorManager | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Belirtilen nesnenin dize olarak temsil edilen halini döndürür. | Object | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Sabit | Tanımlayan: | ||
---|---|---|---|
Error_Icon : * = Error [statik]
The constant specifying the Error Icon. | ErrorManager | ||
Info_Icon : * = Info [statik]
The constant specifying the Info Icon. | ErrorManager | ||
Ok_Icon : * = Ok [statik]
The constant specifying the OK Icon. | ErrorManager | ||
Warning_Icon : * = Warning [statik]
The constant specifying the Warning Icon. | ErrorManager |
errorManagerImpl | özellik |
errorManagerImpl:IErrorManager
[salt yazılır] Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Method to override the error manager implementation
Uygulama
public static function set errorManagerImpl(value:IErrorManager):void
handleError | () | yöntem |
public static function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling Document Composer faults.
This method reads the fault code from the passed fault
object, pulls the relevant error message from the resource bundle, fills
it with details if required and shows it to the user in form of an
Alert box.
Parametreler
fault:Fault — The fault object encapsulating server fault.
| |
flags:uint (default = 0x0004 ) — The buttons to be present on the Alert dialog.
| |
closeHandler:Function (default = null ) — The function to be called when the user clicks the button on the alert
|
handleFault | () | yöntem |
public static function handleFault(fault:Fault, asset:*):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling server faults.
This method reads the fault code from the passed fault
object, pulls the relevant error message from the resource bundle, fills
it with details if required and shows it to the user in form of an
Alert box.
Parametreler
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | yöntem |
public static function handleValidationFault(evt:AssetValidationEvent):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling client domain validation errors.
This method identifies the validation failure cause and displays suitable error message to the user in form of an Alert box.
Parametreler
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
showMessage | () | yöntem |
public static function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling Document Composer user messages.
This method pulls the relevant user message from the resource bundle, fills it with details if required and shows it to the user in form of an Alert box.
Parametreler
msgTitle:String — The Message Title to be displayed in the Alert Window.
| |
msgText:String — The Message text to be shown in the Alert dialog.
| |
closeHandler:Function (default = null ) — The function to be called when the user clicks the button on the alert
| |
messageType:String (default = null ) — The string value specifying the type of message in order to show the
respective icon. The types can be Warning,Info, Error or OK icon.
| |
flags:uint (default = 0x0004 ) — The uint value speciying the buttons to be shown on the Alert box.
|
Error_Icon | Sabit |
public static const Error_Icon:* = Error
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Error Icon.
Info_Icon | Sabit |
public static const Info_Icon:* = Info
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Info Icon.
Ok_Icon | Sabit |
public static const Ok_Icon:* = Ok
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the OK Icon.
Warning_Icon | Sabit |
public static const Warning_Icon:* = Warning
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Warning Icon.
Tue Jun 12 2018, 01:09 PM Z