Class CreateInstanceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InstanceNotUniqueException

public class CreateInstanceException extends ProfileException
Exception used to indicate that an instance could not be created.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • CreateInstanceException

      public CreateInstanceException(String entityName, String message)
      Basic constructor with the name of the entity and a message explaining the cause of the error.
      Parameters:
      entityName - The name of the entity for which no instance could be created.
      message - The message explaining the error that occurred.
  • Method Details

    • getEntityName

      public String getEntityName()
      This method returns the entity name of the instance that could not be created.
      Returns:
      the entity name of the instance that could not be created.