]> git.mxchange.org Git - jcore.git/blobdiff - src/org/mxchange/jcore/exceptions/UnsupportedDatabaseBackendException.java
Continued with jcore:
[jcore.git] / src / org / mxchange / jcore / exceptions / UnsupportedDatabaseBackendException.java
index daceeb451ee9c31ad2a681738c6413fbb592e6b5..023baab5b0845a1b508f82ebf17aeb82a6bf7b1e 100644 (file)
@@ -26,23 +26,13 @@ import java.text.MessageFormat;
 public class UnsupportedDatabaseBackendException extends Exception {
 
        /**
+        * Constructor with only cause
         *
-        * @param backendType
-        */
-       public UnsupportedDatabaseBackendException (final String backendType) {
-               // Call super constructor
-               super(MessageFormat.format("Backend {0} is not supported.", backendType)); //NOI18N
-       }
-
-       /**
-        * Constructor with backend type and cause
-        *
-        * @param backendType Backend type
         * @param cause 
         */
-       public UnsupportedDatabaseBackendException (final String backendType, final Throwable cause) {
+       public UnsupportedDatabaseBackendException (final Throwable cause) {
                // Call super constructor
-               super(MessageFormat.format("Backend {0} is not supported.", backendType), cause); //NOI18N
+               super(MessageFormat.format("Backend is not supported: {0}", cause), cause); //NOI18N
        }
        
 }