title: How to Edit Default Mule Error message..?
body: <p>I have defined a Mule HTTP Inbound Endpoint as :</p>
  
  <pre><code>&lt;flow name="jfeed_fill_data"&gt;
      &lt;http:inbound-endpoint address="http://localhost:1212/jcore/insert/feed/"&gt;
      &lt;/http:inbound-endpoint&gt;
  &lt;component class="main.java.com.joshlabs.jcore.Feed"/&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>Now this Service Works Fine.</p>
  
  <p>But When i type a Deformed URL , something like <strong><em>"http://localhost:1212/jcore/insert/feedasdasdAwes/"</em></strong>, I get the following Message from MULE :</p>
  
  <pre><code>Cannot bind to address "http://localhost:1212/jcore/insert/feedasdasdAwes/"
  No component registered on that endpoint
  </code></pre>
  
  <p>My Question is : How can i Change the above default Message to Something of my own.?</p>
  
  <p><em>Note : Actually i wanted to return a JSON String as an Error message. Something like :</em></p>
  
  <pre><code>{
    Exception: "Invalid URL"
  }
  </code></pre>
  
  <p>And if possible, then "Can MULE throw <strong>HTTP 404 : Not Found</strong> Error in above case"..??</p>