📄 invalidmodeuosexception.java
字号:
/* InvalidModeUosException.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------- */
package dslib.exception;
/** This exception is used to signal that an attempt was made to write
into or wipeOut() a file that was opened in read mode. */
public class InvalidModeUosException extends UosException
{
/** Create an exception with the specified message. <br>
Analysis: Time = O(1) */
public InvalidModeUosException(String message)
{
super(message);
}
/** Create an exception with the default message. <br>
Analysis: Time = O(1) */
public InvalidModeUosException()
{
super("InvalidModeUosException thrown!");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -