Package org.jboss.weld.exceptions
Class AmbiguousResolutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.inject.InjectionException
-
- jakarta.enterprise.inject.ResolutionException
-
- jakarta.enterprise.inject.AmbiguousResolutionException
-
- org.jboss.weld.exceptions.AmbiguousResolutionException
-
- All Implemented Interfaces:
Serializable
public class AmbiguousResolutionException extends jakarta.enterprise.inject.AmbiguousResolutionException
Provides message localization service for the .- Author:
- David Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmbiguousResolutionException(String message)
Creates a new exception with the given localized message.AmbiguousResolutionException(Throwable throwable)
Creates a new exception with the given cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocalizedMessage()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AmbiguousResolutionException
public AmbiguousResolutionException(Throwable throwable)
Creates a new exception with the given cause.- Parameters:
throwable
- The cause of the exception
-
AmbiguousResolutionException
public AmbiguousResolutionException(String message)
Creates a new exception with the given localized message.- Parameters:
message
-
-
-
Method Detail
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-