PlatformOriginalException CLASS

Exception thrown when the platform runtime encountered an error.

When a user mapped type encountered a runtime exception, it will pop up through the platform stack and emerged at the platform-engine boundary, at which an exception of this type will be created, wrapping the underlying error and preserving its stack. Thus this exception's stack trace will contain both the script trace and the platform trace.

Parent Class

All Members


TypeNameSignature
constructorPlatformOriginalExceptionpublic PlatformOriginalException(string, string)

Constructors


public PlatformOriginalException(string className, string msg)

Create a platform class running exception with the class name and specific message. While entirely legal, it's not recommended for a user to create such instances.

Parameters

  • className The faulting platform class's name.
  • msg A message to describe the failure.