X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjcore%2Fexceptions%2FUnsupportedDatabaseBackendException.java;h=023baab5b0845a1b508f82ebf17aeb82a6bf7b1e;hb=e0dbb3c7b440c5f005bb6874a235a93c73188f55;hp=395a5f6480151b2f080609ac630d62e5ddedbe13;hpb=befbf4e89fa45152ee03d3da2ba68b3beb098b18;p=jcore.git diff --git a/src/org/mxchange/jcore/exceptions/UnsupportedDatabaseBackendException.java b/src/org/mxchange/jcore/exceptions/UnsupportedDatabaseBackendException.java index 395a5f6..023baab 100644 --- a/src/org/mxchange/jcore/exceptions/UnsupportedDatabaseBackendException.java +++ b/src/org/mxchange/jcore/exceptions/UnsupportedDatabaseBackendException.java @@ -16,6 +16,8 @@ */ package org.mxchange.jcore.exceptions; +import java.text.MessageFormat; + /** * An exception thrown when the given backend type is not valid * @@ -30,7 +32,7 @@ public class UnsupportedDatabaseBackendException extends Exception { */ public UnsupportedDatabaseBackendException (final Throwable cause) { // Call super constructor - super("Backend is not supported.", cause); //NOI18N + super(MessageFormat.format("Backend is not supported: {0}", cause), cause); //NOI18N } }