mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Made the code throw a handled exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20403 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e8e0f1d5d0
commit
d25c893d49
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-12-01 02:12 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassManager.m: [GormClassManager parseHeader:] altered
|
||||
method to throw NSInvalidArgumentException instead of a custom
|
||||
exception.
|
||||
|
||||
2004-11-29 23:40 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormPalettesManager.[hm]: [GormPalettesManager loadPalette:] now
|
||||
|
|
|
@ -1625,7 +1625,7 @@
|
|||
else
|
||||
{
|
||||
result = NO;
|
||||
[NSException raise: @"UnknownParentClass"
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"The superclass %@ of class %@ is not known, please parse it.",
|
||||
superClass, className];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue