umontreal.iro.lecuyer.util
Class NameConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- umontreal.iro.lecuyer.util.NameConflictException
-
- All Implemented Interfaces:
- java.io.Serializable
public class NameConflictException extends java.lang.ExceptionThis exception is thrown by aClassFinderwhen two or more fully qualified class names can be associated with a simple class name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NameConflictException()Constructs a new name conflict exception.NameConflictException(ClassFinder finder, java.lang.String name, java.lang.String message)Constructs a new name conflict exception with class finder finder, simple name name, and message message.NameConflictException(java.lang.String message)Constructs a new name conflict exception with message message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ClassFindergetClassFinder()Returns the class finder associated with this exception.java.lang.StringgetName()Returns the simple name associated with this exception.
-
-
-
Constructor Detail
-
NameConflictException
public NameConflictException()
Constructs a new name conflict exception.
-
NameConflictException
public NameConflictException(java.lang.String message)
Constructs a new name conflict exception with message message.- Parameters:
message- the error message.
-
NameConflictException
public NameConflictException(ClassFinder finder, java.lang.String name, java.lang.String message)
Constructs a new name conflict exception with class finder finder, simple name name, and message message.- Parameters:
finder- the class finder in which the name conflict occurred.name- the simple conflicting name.message- the message describint the conflict.
-
-
Method Detail
-
getClassFinder
public ClassFinder getClassFinder()
Returns the class finder associated with this exception.- Returns:
- the associated class finder.
-
getName
public java.lang.String getName()
Returns the simple name associated with this exception.- Returns:
- the associated simple name.
-
-
DMelt 3.0 © DataMelt by jWork.ORG