mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
HHH-15775 Make UnknownServiceException and NullServiceException extend ServiceException
This commit is contained in:
parent
325b416e7d
commit
7461100c39
@ -6,12 +6,12 @@
|
||||
*/
|
||||
package org.hibernate.service;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.service.spi.ServiceException;
|
||||
|
||||
/**
|
||||
* @author Andrea Boriero
|
||||
*/
|
||||
public class NullServiceException extends HibernateException {
|
||||
public class NullServiceException extends ServiceException {
|
||||
public final Class serviceRole;
|
||||
|
||||
public NullServiceException(Class serviceRole) {
|
||||
|
@ -5,14 +5,14 @@
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.service;
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.service.spi.ServiceException;
|
||||
|
||||
/**
|
||||
* Indicates that an unknown service was requested from the registry.
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public class UnknownServiceException extends HibernateException {
|
||||
public class UnknownServiceException extends ServiceException {
|
||||
public final Class serviceRole;
|
||||
|
||||
public UnknownServiceException(Class serviceRole) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user