Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
InvalidCategoryError

Package | mx.logging.errors
Class | public class InvalidCategoryError
Inheritance | InvalidCategoryError Error

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

This error is thrown when a category specified for a logger contains invalid characters or is malformed. This error is thrown by the following method:

- `Log.getLogger()` if a category specified is malformed.

Public Methods

| Method | Defined By
--- | --- | ---
|  | InvalidCategoryError(message:String) Constructor. | InvalidCategoryError
|  | toString():String Returns the messge as a String. | InvalidCategoryError

Constructor Detail

InvalidCategoryError | () | Constructor

`public function InvalidCategoryError(message:String)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `message:String` — The message that describes this error.

Method Detail

toString | () | method

`public function toString():String`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns the messge as a String.

Returns

| `String` — The message.

Wed Nov 15 2017, 09:50 AM +01:00