/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.unitn.disi.smatch.webapi.model.exceptions;

import java.lang.reflect.InvocationTargetException;

/**
 *
 * An exception that is thrown when a bad invocation occurs
 * 
 * @author Moaz Reyad <reyad@disi.unitn.it>
 * @date Jul 11, 2013
 */
public class BadInvoactionRequestException extends BadRequestException {

    /**
     * Constructs an instance of
     * <code>BadRequestException</code> with the specified detail message.
     *
     * @param msg the detail message.
     */
    public BadInvoactionRequestException(String msg, InvocationTargetException ex) {
        super(msg);
    }
}

@@ -1,10 +1,11 @@
 /*
+%0D
 %0A * To c
@@ -49,16 +49,17 @@
 emplates
+%0D
 %0A * and 
@@ -90,20 +90,22 @@
  editor.
+%0D
 %0A */
+%0D
 %0Apackage
@@ -150,17 +150,19 @@
 eptions;
-%0A
+%0D%0A%0D
 %0Aimport 
@@ -209,16 +209,20 @@
 ion;
-%0A
+%0D%0A%0D
 %0A/**
+%0D
 %0A *
+%0D
 %0A * 
@@ -277,20 +277,22 @@
 n occurs
+%0D
 %0A * 
+%0D
 %0A * @aut
@@ -327,16 +327,17 @@
 nitn.it%3E
+%0D
 %0A * @dat
@@ -350,20 +350,22 @@
 11, 2013
+%0D
 %0A */
+%0D
 %0Apublic 
@@ -433,17 +433,19 @@
 on %7B
-%0A
+%0D%0A%0D
 %0A    /**
 %0A   
@@ -440,16 +440,17 @@
 %0A    /**
+%0D
 %0A     * 
@@ -474,16 +474,17 @@
 tance of
+%0D
 %0A     * 
@@ -550,23 +550,25 @@
 message.
+%0D
 %0A     *
+%0D
 %0A     * 
@@ -601,16 +601,17 @@
 age.
+%0D
 %0A     */
 %0A   
@@ -606,16 +606,17 @@
 %0A     */
+%0D
 %0A    pub
@@ -692,16 +692,17 @@
 on ex) %7B
+%0D
 %0A       
@@ -715,15 +715,42 @@
 (msg
+ + %22 %22 + ex.getMessage()
 );
+%0D
 %0A    %7D
+%0D
 %0A%7D
+%0D
 %0A

Use parameter