public class AmbiguousConstructorException extends Exception
| Constructor and Description |
|---|
AmbiguousConstructorException(Class<?> type,
Object[] args,
Set<Constructor<?>> options)
Create a new AmbiguousConstructorException with the possible Constructor options.
|
AmbiguousConstructorException(String msg)
Create a new AmbiguousConstructorException with only a message.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArgs() |
Set<Constructor<?>> |
getOptions() |
Class<?> |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AmbiguousConstructorException(String msg)
msg - the detail message to showpublic AmbiguousConstructorException(Class<?> type, Object[] args, Set<Constructor<?>> options)
type - the type of Object under constructionargs - the arguments given to match onoptions - the possible matching Constructorspublic Class<?> getType()
public Object[] getArgs()
public Set<Constructor<?>> getOptions()
Copyright © 2011-2013. All Rights Reserved.