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:
parent
313b006f83
commit
221a40e57f
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Nuclex.Support {
|
namespace Nuclex.Support {
|
||||||
|
|
||||||
|
/// <summary>Helper methods for working with integer types</summary>
|
||||||
public static class IntegerHelper {
|
public static class IntegerHelper {
|
||||||
|
|
||||||
/// <summary>Returns the next highest power of 2 from the specified value</summary>
|
/// <summary>Returns the next highest power of 2 from the specified value</summary>
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace Nuclex.Support.Packing {
|
||||||
/// the object you tried to pack into the remaining packing area.
|
/// the object you tried to pack into the remaining packing area.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class OutOfSpaceException : ApplicationException {
|
public class OutOfSpaceException : Exception {
|
||||||
|
|
||||||
/// <summary>Initializes the exception</summary>
|
/// <summary>Initializes the exception</summary>
|
||||||
public OutOfSpaceException() { }
|
public OutOfSpaceException() { }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user