Exception cleanup. Code cleanup.
This commit is contained in:
@@ -203,7 +203,7 @@ namespace Cryville.Crtr {
|
||||
public virtual EventList GetEventsOfType(string type) {
|
||||
switch (type) {
|
||||
case "motions": return new EventList<Chart.Motion>(motions);
|
||||
default: throw new ArgumentException("Unknown type");
|
||||
default: throw new ArgumentException(string.Format("Unknown event type {0}", type));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user