Class InjectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.inject.InjectionException
org.jboss.weld.exceptions.InjectionException
All Implemented Interfaces:
Serializable

public class InjectionException extends jakarta.enterprise.inject.InjectionException
Provides message localization service for the .
Author:
David Allen
See Also:
  • Constructor Details

    • InjectionException

      public InjectionException(Throwable throwable)
      Creates a new exception with the given cause.
      Parameters:
      throwable - The cause of the exception
    • InjectionException

      public InjectionException(String message, Throwable throwable)
      Creates a new exception with an arbitrary message and the cause of the exception. It is not recommended to use this constructor since the message cannot be localized.
      Parameters:
      message - The error message
      throwable - The cause of the exception or wrapped throwable
  • Method Details