| | |
| | | throw ArgumentExceptionFactory.unknownCategory(categoryName); |
| | | } |
| | | |
| | | categoryName = null; |
| | | subTypes = tagMap.get(tag); |
| | | if (subTypes == null) { |
| | | throw ArgumentExceptionFactory.unknownCategory(categoryName); |
| | |
| | | if (typeName != null) { |
| | | AbstractManagedObjectDefinition<?, ?> d = subTypes.get(typeName); |
| | | if (d == null) { |
| | | throw ArgumentExceptionFactory.unknownTypeInCategory(categoryName, |
| | | typeName); |
| | | throw ArgumentExceptionFactory.unknownTypeForCategory(typeName, |
| | | categoryName); |
| | | } |
| | | dlist.add(d); |
| | | |
| | |
| | | } |
| | | |
| | | if (!isFound) { |
| | | throw ArgumentExceptionFactory.unknownType(typeName); |
| | | throw ArgumentExceptionFactory.unknownTypeForCategory(typeName, |
| | | categoryName); |
| | | } |
| | | } else { |
| | | // User did not specify a category nor a sub-type. |