EPJEnvVars exception class

Project: Environment Variables Unit

Unit: PJEnvVars

Applies to: ~>3.0

type
  {$IFDEF Supports_EOSError}
  EPJEnvVars = class(EOSError);
  {$ELSE}
  EPJEnvVars = class(EWin32Error);
  {$ENDIF}

⚠️ EPJEnvVars is deprecated. It is used only by the TPJEnvVars component, which is itself deprecated. The exception class is retained for backward compatibility only.

Decription

Class of exception raised when errors are detected in the PJEnvVars unit.

On versions of Delphi that support EOSError EPJEnvVars descends from that, otherwise it descends from EWin32Error.