Class TenantNativeSqlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.orm.session.PersistenceException
com.codename1.backend.tenancy.TenantNativeSqlException
Native SQL was attempted on a session that maps tenant-partitioned
entities without opting in. Native statements are never filtered by tenant.
-
Constructor Summary
ConstructorsConstructorDescriptionTenantNativeSqlException(String message) Creates an exception describing the persistence failure. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TenantNativeSqlException
Creates an exception describing the persistence failure.- Parameters:
message- failure description
-