SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
NameConflictException Class Reference

This exception is thrown by a ClassFinder when two or more fully qualified class names can be associated with a simple class name. More...

Inheritance diagram for NameConflictException:
[legend]
Collaboration diagram for NameConflictException:
[legend]

Public Member Functions

 NameConflictException ()
 Constructs a new name conflict exception.
 
 NameConflictException (String message)
 Constructs a new name conflict exception with message message. More...
 
 NameConflictException (ClassFinder finder, String name, String message)
 Constructs a new name conflict exception with class finder finder, simple name name, and message message. More...
 
ClassFinder getClassFinder ()
 Returns the class finder associated with this exception. More...
 
String getName ()
 Returns the simple name associated with this exception. More...
 

Detailed Description

This exception is thrown by a ClassFinder when two or more fully qualified class names can be associated with a simple class name.

Constructor & Destructor Documentation

◆ NameConflictException() [1/2]

NameConflictException ( String  message)

Constructs a new name conflict exception with message message.

Parameters
messagethe error message.

◆ NameConflictException() [2/2]

NameConflictException ( ClassFinder  finder,
String  name,
String  message 
)

Constructs a new name conflict exception with class finder finder, simple name name, and message message.

Parameters
finderthe class finder in which the name conflict occurred.
namethe simple conflicting name.
messagethe message describint the conflict.

Member Function Documentation

◆ getClassFinder()

ClassFinder getClassFinder ( )

Returns the class finder associated with this exception.

Returns
the associated class finder.

◆ getName()

String getName ( )

Returns the simple name associated with this exception.

Returns
the associated simple name.

The documentation for this class was generated from the following file: