From: Per Sandberg <per.s.sandberg@bahnhof.se>
Subject: Re: GNAT user-specified (via Raise_Exception) warning message size limit
Date: Fri, 16 Feb 2018 19:59:14 +0100
Date: 2018-02-16T19:59:14+01:00 [thread overview]
Message-ID: <5e5ce844-42a8-c2de-bf53-4acf67be7f53@bahnhof.se> (raw)
In-Reply-To: <789f6417-5e6f-4d5f-8abb-80246f4f405a@googlegroups.com>
Well
From a quick glance i would expect the answer to be:
In package System.Parameters update the value of
"Default_Exception_Msg_Max_Length" to a new value.
And recompile the run-times.
/P
Den 2018-02-16 kl. 19:44, skrev marciant@earthlink.net:
> Hello,
>
> Before I see about asking AdaCore directly via GNAT Tracker, I thought that I'd ask here first:
>
> Is there a way to increase the default size limit of the exception message that is specified when calling Ada.Exceptions.Raise_Exception?
>
> It seems that although quite long messages are accepted at calls to it, the message then retrieved and printed within a handler that uses Ada.Exceptions.Exception_Message on the occurrence only returns a truncated part of the original message - around the first 200 characters are returned and the rest is truncated.
>
> Vincent Marciante
>
next prev parent reply other threads:[~2018-02-16 18:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 18:44 GNAT user-specified (via Raise_Exception) warning message size limit marciant
2018-02-16 18:59 ` Per Sandberg [this message]
2018-02-16 19:11 ` marciant
2018-02-16 20:58 ` Anh Vo
2018-02-16 23:22 ` marciant
2018-02-17 7:15 ` J-P. Rosen
2018-02-17 16:38 ` marciant
2018-02-18 22:33 ` Mark Lorenzen
2018-02-18 23:09 ` Simon Wright
2018-02-19 7:24 ` briot.emmanuel
2018-02-19 15:31 ` marciant
2018-02-22 15:08 ` marciant
2018-02-22 19:48 ` marciant
2018-02-22 20:27 ` Simon Wright
2018-02-22 21:43 ` Mark Lorenzen
2018-02-22 22:09 ` marciant
2018-02-23 8:25 ` briot.emmanuel
2018-02-23 8:56 ` Simon Wright
2018-02-17 0:03 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox