Class CreationException

All Implemented Interfaces:
Serializable

public class CreationException extends RuntimeException
Thrown when errors occur while creating a Injector. Includes a list of encountered errors. Clients should catch this exception, log it, and stop execution.
See Also:
  • Field Details

    • messages

      private final com.google.common.collect.ImmutableSet<Message> messages
    • serialVersionUID

      private static final long serialVersionUID
      See Also:
  • Constructor Details

    • CreationException

      public CreationException(Collection<Message> messages)
      Creates a CreationException containing messages.
  • Method Details