Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method Static GenerateResourceFile Generate a English resource file "ExceptionCode.properties" in the given path.
Public method GetDefaultEnglishString Returns default English pattern string. (inherited from LString)
Public method GetErrorLoggingLevel Indicates whether the exception is required to be logged.
Public method Static GetExceptionCode Gets the ExceptionCode object referenced by the specified resource key (ExceptionCode field name). This method is thread safe.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetKey Returns resource key. (inherited from LString)
Public method GetObjectData Overridden. This method is exposed to satisfy the ISerializable interface.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method IsFatal Indicates whether the exception is thrown back to the initiating client, or whether it can be returned by an accessor method.
Public method ToLogString Returns a localized string + (key name) in the default locale if available, otherwise returns the formatted English string + (key name). The returned string is used for logging. This method is thread safe. (inherited from LString)
Public method ToString Overloaded. Returns key + default English pattern string.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Family method setKey Set key value. Used by static initializer to set key of each enum object through reflection. Instance variable mKey is ready to use after the class loading and initialization. (inherited from LString)
Top

See Also