Class DefinitionFailedException

  • All Implemented Interfaces:
    Serializable

    public class DefinitionFailedException
    extends HostResourceException
    DefinitionFailedException is a checked exception thrown when an an attempt to define a generation data group fails.
    Since:
    2.1.0
    Version:
    2.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • DefinitionFailedException

        public DefinitionFailedException​(String message,
                                         String localizedMessage,
                                         String generationDataGroupName)
        Constructs a new definition failed exception with the specified detail messages and generation data group name. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
        Parameters:
        message - the non-localized detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        localizedMessage - the localized description (which is saved for later retrieval by the TopazAPIException.getLocalizedMessage() method). (A null value is permitted, in which case getLocalizedMessage() will return the non-localized detail message.)
        generationDataGroupName - the name of the generation data group associated with this exception
        Since:
        2.1.0
      • DefinitionFailedException

        public DefinitionFailedException​(String message,
                                         String localizedMessage,
                                         Throwable cause,
                                         String generationDataGroupName)
        Constructs a new definition failed exception with the specified detail messages, cause, and generation data group name.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the non-localized detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        localizedMessage - the localized description (which is saved for later retrieval by the TopazAPIException.getLocalizedMessage() method). (A null value is permitted, in which case getLocalizedMessage() will return the non-localized detail message.)
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        generationDataGroupName - the name of the generation data group associated with this exception
        Since:
        2.1.0