Skip to content

Commit 6bf3659

Browse files
Euniceadusunilmogadati
authored andcommitted
* 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 74447a1. * Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611] * Removed mockito version from properties
1 parent a3926e4 commit 6bf3659

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

‎jee7/src/main/java/com/baeldung/jaxws/exception/EmployeeAlreadyExists.java‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
package com.baeldung.jaxws.exception;
22

3-
import java.io.Serializable;
4-
53
import javax.xml.ws.WebFault;
64

75
@WebFault
8-
public class EmployeeAlreadyExists extends Exception implements Serializable {
9-
10-
private static final long serialVersionUID = 1L;
6+
public class EmployeeAlreadyExists extends Exception {
117

128
public EmployeeAlreadyExists() {
139
super("This employee already exists");

‎jee7/src/main/java/com/baeldung/jaxws/exception/EmployeeNotFound.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package com.baeldung.jaxws.exception;
22

33
import javax.xml.ws.WebFault;
4-
import java.io.Serializable;
54

65
@WebFault
7-
public class EmployeeNotFound extends Exception implements Serializable {
6+
public class EmployeeNotFound extends Exception {
87

98
public EmployeeNotFound() {
109
super("The specified employee does not exist");

‎jee7/src/main/java/com/baeldung/jaxws/model/Employee.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.baeldung.jaxws.model;
22

3-
import java.io.Serializable;
4-
5-
public class Employee implements Serializable {
6-
private static final long serialVersionUID = 1L;
3+
public class Employee {
74
private int id;
85
private String firstName;
96

0 commit comments

Comments
 (0)