summaryrefslogtreecommitdiff
path: root/rtl/java/sysos.inc
blob: 77061e36206fc58b96eb95da8667a2ce9651d131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2011 by Jonas Maebe
    member of the Free Pascal development team.

    This file implements some Java-specific system unit routines

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************
}

constructor FpcRunTimeError.create(l: longint);
  begin
    inherited Create('Run time error '+unicodestring(JLInteger.valueOf(l).toString));
    errornr:=l;
  end;