Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

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.