📄 waitinglineemptyexception.java
字号:
/** This exception is used whenever the wiating line should
have atlest one customer, but it is empty. */
public class WaitingLineEmptyException extends Exception
{
/** Create an exception with the specified message
Analysis: Time = O(1) */
public WaitingLineEmptyException(String message)
{
super(message);
}
/** Create an exception with the default message
Analysis: Time = O(1) */
public WaitingLineEmptyException()
{
super("The waiting line is empty when it should not be!");
}
} /* end of WaitingLineEmptyException */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -