📄 internalerror.java
字号:
/************************************************************************
This file is part of java core libraries for the simpleRTJ virtual machine.
This file is covered by the GNU GPL with the following exception:
As a special exception, the copyright holders of this library give you permission
to link this library with independent modules to produce an executable, regardless
of the license terms of these independent modules, and to copy and distribute the
resulting executable under terms of your choice, provided that you also meet, for
each linked independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from or based on
this library. If you modify this library, you may extend this exception to your
version of the library, but you are not obligated to do so. If you do not wish
to do so, delete this exception statement from your version.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL RTJ COMPUTING BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Created/modified by:
RTJ Computing
***********************************************************************/
package java.lang;
/**
* Thrown when unexpected internal error has occurred in
* the Java Virtual Machine.
*
* InternalError can be thrown when one of the following occur:
* 1. something went wrong; see detail code<br>
* 2. VM run out of memory; see detail code<br>
* 3. missing method definition<br>
* 4. method is abstract - no code present<br>
* 5. null pointer discovered<br>
* 6. array index is out of bound for this array<br>
* 7. unable to store data type in this array<br>
* 8. arithmetic error occured<br>
* 9. unable to cast object to specified type<br>
* 10. specified array size has negative value<br>
* 11. thrown when current thread is not owner on object lock<br>
*/
public class InternalError extends VirtualMachineError
{
/**
* Creates an InternalError class.
*/
public InternalError()
{
super();
}
/**
* Creates an InternalError with the detail message.
*/
public InternalError(String s)
{
super(s);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -