Thanks!
We'd rather not introduce another dependency only for this so option #2
sounds better.
Willing to try a PR?

Cheers,
Dimitris

On Mon, Mar 2, 2015 at 8:23 AM, Ritesh Kumar Singh <
[email protected]> wrote:

> Hi,
>
> When compiling the server module, we get a warning regarding use of
> deprecated methods at 2 locations:
>
> 1. In getStackTraceString is depreciated
> <https://github.com/dbpedia/extraction-framework/blob/master/server/src/main/scala/org/dbpedia/extraction/server/providers/ExceptionMapper.scala>
>
>
> Warning:(27, 40) method getStackTraceString in class RichException is
> deprecated: Use Throwable#getStackTrace
>                         <td>{exception.getStackTraceString}</td>
>                                        ^
>
> We can resolve this by adding either an external library
> apache.commons.lang.exception.ExceptionUtils.getStackTrace(Throwable)
>
> or by sending it to the StringWriter class.
>
> Both the methods are listed on the this link
> <https://stackoverflow.com/questions/1149703/how-can-i-convert-a-stack-trace-to-a-string>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Dbpedia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>
>


-- 
Kontokostas Dimitris
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to