mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 09:02:22 +01:00 
			
		
		
		
	* added runerror number to JVM FpcRunTimeError exceptions
  * enabled calling errorproc when a run time error occurs on the
    JVM target
git-svn-id: branches/jvmbackend@18749 -
		
	
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			747 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			747 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
{
 | 
						|
    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;
 | 
						|
 |