Class UnsupportedDatabaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- pro.taskana.common.api.exceptions.TaskanaRuntimeException
-
- pro.taskana.common.api.exceptions.UnsupportedDatabaseException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedDatabaseException extends TaskanaRuntimeException
This exception is thrown when the database name doesn't match to one of the desired databases.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedDatabaseException(String databaseProductName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatabaseProductName()-
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaRuntimeException
getErrorCode, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
ERROR_KEY
public static final String ERROR_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnsupportedDatabaseException
public UnsupportedDatabaseException(String databaseProductName)
-
-
Method Detail
-
getDatabaseProductName
public String getDatabaseProductName()
-
-