Package com.exasol.dbbuilder.dialects
Class DatabaseObjectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.exasol.dbbuilder.dialects.DatabaseObjectException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseObjectDeletedException
public class DatabaseObjectException extends RuntimeException
Exception for database object generation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseObjectException(DatabaseObject object, String message)Create a new instance of aDatabaseObjectException.DatabaseObjectException(DatabaseObject object, String message, Throwable cause)Create a new instance of aDatabaseObjectException.DatabaseObjectException(DatabaseObject object, Throwable cause)Create a new instance of aDatabaseObjectException.DatabaseObjectException(String message, Throwable cause)Create a new instance of aDatabaseObjectException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFullyQualifiedObjectName()Get the database object nameStringgetObjectType()Get the database object type-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DatabaseObjectException
public DatabaseObjectException(DatabaseObject object, String message)
Create a new instance of aDatabaseObjectException.- Parameters:
object- database objectmessage- error message
-
DatabaseObjectException
public DatabaseObjectException(DatabaseObject object, Throwable cause)
Create a new instance of aDatabaseObjectException.- Parameters:
object- database objectcause- reason we were unable to create the object
-
DatabaseObjectException
public DatabaseObjectException(DatabaseObject object, String message, Throwable cause)
Create a new instance of aDatabaseObjectException.- Parameters:
object- database objectmessage- error messagecause- reason we were unable to create the object
-
DatabaseObjectException
public DatabaseObjectException(String message, Throwable cause)
Create a new instance of aDatabaseObjectException.- Parameters:
message- error messagecause- reason the error is thrown
-
-