title: Uncatchable ConstraintViolationException (com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException)
body: <p>like in topic.
  I can't handle that exception.</p>
  
  <p>You can see the code here:
  <a href="https://github.com/ApproxTeam/AntColosseumIIServer/blob/master/src/main/java/com/approxteam/antcolosseumserver/gamelogic/interfaces/beans/WebSocketRegisterer.java" rel="nofollow noreferrer">https://github.com/ApproxTeam/AntColosseumIIServer/blob/master/src/main/java/com/approxteam/antcolosseumserver/gamelogic/interfaces/beans/WebSocketRegisterer.java</a></p>
  
  <p>All i want to achieve is catch exception instead of ruin all method that invoke that bean.</p>
  
  <p>All stacktrace: <a href="http://wklejto.pl/txt299134" rel="nofollow noreferrer">http://wklejto.pl/txt299134</a></p>
  
  <p>I trying to catch Throwable, Exception, PersistenceException, HibernateException, ConstaintVolablablaException but all doesn't works.</p>
  
  <p>What is wrong?</p>
  
  <p>I'm using Hibernate 5+ and MySQL as database.</p>