public class ClassNameConflictException extends GrengineException
Constructor and Description |
---|
ClassNameConflictException(String message,
Map<String,List<Code>> sameClassNamesInMultipleCodeLayersMap,
Map<String,List<Code>> sameClassNamesInParentAndCodeLayersMap)
constructor from exception message and maps with class conflict information.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<Code>> |
getSameClassNamesInMultipleCodeLayersMap()
gets a map of class name to a list of all
Code layers
that contain a class with that name, but only if the class name
occurred more than once in the code layers. |
Map<String,List<Code>> |
getSameClassNamesInParentAndCodeLayersMap()
gets a map of class name to a list of all
Code layers
that contain a class with that name, but only if the class name
occurred also in the parent class loader. |
getDateThrown, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClassNameConflictException(String message, Map<String,List<Code>> sameClassNamesInMultipleCodeLayersMap, Map<String,List<Code>> sameClassNamesInParentAndCodeLayersMap)
One of the maps may be null if the corresponding check has not been made.
message
- messagesameClassNamesInMultipleCodeLayersMap
- map of class names in multiple code layerssameClassNamesInParentAndCodeLayersMap
- map of class names in parent and code layerspublic Map<String,List<Code>> getSameClassNamesInMultipleCodeLayersMap()
Code
layers
that contain a class with that name, but only if the class name
occurred more than once in the code layers.public Map<String,List<Code>> getSameClassNamesInParentAndCodeLayersMap()
Code
layers
that contain a class with that name, but only if the class name
occurred also in the parent class loader.