* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Added mockito-core dependency

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse

* Merged from https://github.com/eugenp/tutorials
Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Revert "Merged from https://github.com/eugenp/tutorials"

This reverts commit 74447a163b9e3f244a2578315fbdb525d20cd16b.

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed mockito version from properties
This commit is contained in:
Eunice A. Obugyei 2017-04-07 20:37:47 +00:00 committed by Sunil Mogadati
parent a3926e4204
commit 6bf3659fb5
3 changed files with 3 additions and 11 deletions

View File

@ -1,13 +1,9 @@
package com.baeldung.jaxws.exception;
import java.io.Serializable;
import javax.xml.ws.WebFault;
@WebFault
public class EmployeeAlreadyExists extends Exception implements Serializable {
private static final long serialVersionUID = 1L;
public class EmployeeAlreadyExists extends Exception {
public EmployeeAlreadyExists() {
super("This employee already exists");

View File

@ -1,10 +1,9 @@
package com.baeldung.jaxws.exception;
import javax.xml.ws.WebFault;
import java.io.Serializable;
@WebFault
public class EmployeeNotFound extends Exception implements Serializable {
public class EmployeeNotFound extends Exception {
public EmployeeNotFound() {
super("The specified employee does not exist");

View File

@ -1,9 +1,6 @@
package com.baeldung.jaxws.model;
import java.io.Serializable;
public class Employee implements Serializable {
private static final long serialVersionUID = 1L;
public class Employee {
private int id;
private String firstName;