<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.chongtin.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.chongtin.com/feed.php">
        <title>Tutorial Site spring</title>
        <description></description>
        <link>https://wiki.chongtin.com/</link>
        <image rdf:resource="https://wiki.chongtin.com/ttps://wiki.chongtin.com/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-04-09T00:03:32+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.chongtin.com/spring/controlleradvice_for_catching_exception_in_rest_controller?do=revisions&amp;rev=1552467072"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.chongtin.com/ttps://wiki.chongtin.com/lib/tpl/bootstrap3/images/favicon.ico">
        <title>Tutorial Site</title>
        <link>https://wiki.chongtin.com/</link>
        <url>https://wiki.chongtin.com/ttps://wiki.chongtin.com/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.chongtin.com/spring/controlleradvice_for_catching_exception_in_rest_controller?do=revisions&amp;rev=1552467072">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-13T16:51:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ControllerAdvice for Catching Exception in Rest Controller</title>
        <link>https://wiki.chongtin.com/spring/controlleradvice_for_catching_exception_in_rest_controller?do=revisions&amp;rev=1552467072</link>
        <description>ControllerAdvice for Catching Exception in Rest Controller

For catching exception in rest controller, one can create a class with @ControllerAdvice on the top of it. Here is an example for it. Assume we have an Error class that create POJO instance.</description>
    </item>
</rdf:RDF>
