Fixed missing comment for IntegerHelper; OutOfSpaceException (for Packing algorithms) now derives from Exception instead of ApplicationException (deriving from ApplicationException is no longer recommended practice for .NET)

git-svn-id: file:///srv/devel/repo-conversion/nusu@83 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2008-07-22 19:35:20 +00:00
parent 313b006f83
commit 221a40e57f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
namespace Nuclex.Support {
/// <summary>Helper methods for working with integer types</summary>
public static class IntegerHelper {
/// <summary>Returns the next highest power of 2 from the specified value</summary>

View File

@ -30,7 +30,7 @@ namespace Nuclex.Support.Packing {
/// the object you tried to pack into the remaining packing area.
/// </remarks>
[Serializable]
public class OutOfSpaceException : ApplicationException {
public class OutOfSpaceException : Exception {
/// <summary>Initializes the exception</summary>
public OutOfSpaceException() { }