Spring: is there built in way to raise jsr303 validation exception in service layer?
<p>I have a model with jsr 303 annotations and service</p>

<pre><code>public class User {
    @NotNull
    @Size(min = 2)
    private String username;

    @NotNull 
    private String email;

    ... 
}

@Component
public class UserServiceImpl extends UserService {

     public void createNewUser(@Valid User user) {
         ...
     } 
}
</code></pre>

<p>Is there any build-in way to raise validation exceptions (if any) whenever I call method on this service , like in Controller layer?</p>

<pre><code>...
userService-&gt;createNewUser(user) &lt;- Here I want validation exceptions to be thrown
...
</code></pre>

<p>P.S: I can do it with spring AOP, but I wonder if there is build in way. </p>