SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.util.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 umontreal.ssj.util.NameConflictException:

Public Member Functions

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

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.

Definition at line 33 of file NameConflictException.java.

Constructor & Destructor Documentation

◆ NameConflictException() [1/3]

umontreal.ssj.util.NameConflictException.NameConflictException ( )

Constructs a new name conflict exception.

Definition at line 41 of file NameConflictException.java.

◆ NameConflictException() [2/3]

umontreal.ssj.util.NameConflictException.NameConflictException ( String message)

Constructs a new name conflict exception with message message.

Parameters
messagethe error message.

Definition at line 49 of file NameConflictException.java.

◆ NameConflictException() [3/3]

umontreal.ssj.util.NameConflictException.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.

Definition at line 61 of file NameConflictException.java.

Member Function Documentation

◆ getClassFinder()

ClassFinder umontreal.ssj.util.NameConflictException.getClassFinder ( )

Returns the class finder associated with this exception.

Returns
the associated class finder.

Definition at line 72 of file NameConflictException.java.

◆ getName()

String umontreal.ssj.util.NameConflictException.getName ( )

Returns the simple name associated with this exception.

Returns
the associated simple name.

Definition at line 81 of file NameConflictException.java.


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