From d9d5ea57d4e7c4ae894cfc5a4bc511f1acdff8e6 Mon Sep 17 00:00:00 2001 From: Gavin Date: Sat, 20 May 2023 14:39:35 +0200 Subject: [PATCH] change the format of an exception msg --- .../src/main/java/org/hibernate/InstantiationException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/InstantiationException.java b/hibernate-core/src/main/java/org/hibernate/InstantiationException.java index efbc38cac9..b7dc23a989 100644 --- a/hibernate-core/src/main/java/org/hibernate/InstantiationException.java +++ b/hibernate-core/src/main/java/org/hibernate/InstantiationException.java @@ -59,7 +59,7 @@ public class InstantiationException extends HibernateException { @Override public String getMessage() { - return super.getMessage() + " : " + clazz.getName(); + return super.getMessage() + " '" + clazz.getName() + "'"; } }