Used for all unchecked exceptions. The exceptions are defined as ExceptionCode objects. EngineRuntimeException supports use of an error stack, as well as exception chaining (constructing a chain of exceptions by wrapping additional exceptions). You can use GetAsErrorStack to do a stack trace of either the error stack or the exception chain.


The following tables list the members exposed by EngineRuntimeException.

Public Constructors

  Name Description
Static Public method EngineRuntimeException Overloaded.  
Top

Protected Constructors

  Name Description
Static Family method EngineRuntimeException Overloaded.  
Top

Public Properties

  Name Description
Public property Data Gets a collection of key/value pairs that provide additional, user-defined information about the exception. (inherited from Exception)
Public property HelpLink Gets or sets a link to the help file associated with this exception. (inherited from Exception)
Public property InnerException Gets the Exception instance that caused the current exception. (inherited from Exception)
Public property Message Overridden. Gets a localized version of the description string (using the default locale) specified in the ExceptionCode object used for this instance.
Public property Source Gets or sets the name of the application or the object that causes the error. (inherited from Exception)
Public property StackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown. (inherited from Exception)
Public property TargetSite Gets the method that throws the current exception. (inherited from Exception)
Top

Protected Properties

  Name Description
Family property HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (inherited from Exception)
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetAsErrorStack Returns the error stack, if an error stack is used; otherwise this instance is returned as an ErrorStack object. The stack can contain an exception chain (if the instance was created using EngineRuntimeException(Throwable, ExceptionCode, Object[]).
Public method GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method GetExceptionCode Gets the ExceptionCode object specified for this instance.
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 GetObjectData Overridden. This method is exposed to satisfy the ISerializable interface.
Public method GetType Gets the runtime type of the current instance. (inherited from Exception)
Public method ToString Overridden. Returns a description of this exception. The result is the concatenation of the following:
  • The name of this exception's class.
  • The name of the exception code.
  • The localized error message.
  • The exception's error stack.
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)
Top

Explicit Interface Implementations

  Name Description
Static Private method EngineRuntimeException Overloaded.  
Top

See Also