Class EmptyStackException
Exception that is thrown when an attempt to remove an item from an empty stack is performed.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class EmptyStackException : Exception, ISerializable
Constructors
| Edit this page View SourceEmptyStackException()
Initializes a new instance of the EmptyStackException class.
Declaration
public EmptyStackException()
EmptyStackException(Exception)
Initializes a new instance of the EmptyStackException class.
Declaration
public EmptyStackException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
EmptyStackException(string)
Initializes a new instance of the EmptyStackException class.
Declaration
public EmptyStackException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
EmptyStackException(string, Exception)
Initializes a new instance of the EmptyStackException class.
Declaration
public EmptyStackException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |