📄 messages.h
字号:
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*******************************************************************************
* Filename:
* ---------
* messages.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
*
*
* Author:
* -------
*
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
/*
* Copyright ?2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*/
/*=========================================================================
* SYSTEM: KVM
* SUBSYSTEM: Error messages
* FILE: messages.h
* OVERVIEW: This file separates the error message strings
* and other user-level C strings from the rest
* of the virtual machine.
* AUTHOR: Antero Taivalsaari
* Frank Yellin
*=======================================================================*/
/*=========================================================================
* Include files
*=======================================================================*/
/*=========================================================================
* Definitions and declarations
*=======================================================================*/
/*=========================================================================
* Messages in VmCommon
*=======================================================================*/
/* Messages in events.h */
#define KVM_MSG_INVALID_TIMESLICE \
"Fatal: Timeslice < 0"
/* Messages in global.h */
#define KVM_MSG_TRY_BLOCK_ENTERED_WHEN_ALLOCATION_FORBIDDEN \
"Try block entered when allocation forbidden"
/* Messages in StartJVM.c */
#define KVM_MSG_CLASS_NOT_FOUND_1STRPARAM \
"Class '%s' not found"
#define KVM_MSG_MUST_PROVIDE_CLASS_NAME \
"Must provide class name"
/* Messages in bytecodes.c */
#define KVM_MSG_EXPECTED_INITIALIZED_CLASS \
"Expected an initialized class"
#define KVM_MSG_BAD_CLASS_CANNOT_INSTANTIATE \
"Cannot instantiate bad class"
#define KVM_MSG_ILLEGAL_WIDE_BYTECODE_EXTENSION \
"Illegal WIDE bytecode extension"
#define KVM_MSG_BREAKPOINT \
"Breakpoint\n"
#define KVM_MSG_NO_SUCH_METHOD_2STRPARAMS \
"No such method %s.%s"
/* Messages in class.c */
#define KVM_MSG_CLASS_EXTENDS_FINAL_CLASS_2STRPARAMS \
"Class %s extends final class %s"
#define KVM_MSG_INTERFACE_DOES_NOT_EXTEND_JAVALANGOBJECT_1STRPARAM \
"Interface %s does not extend java.lang.Object"
#define KVM_MSG_ERROR_VERIFYING_CLASS_1STRPARAM \
"Error verifying class %s"
#define KVM_MSG_BAD_CLASS_STATE \
"Bad class state"
#define KVM_MSG_STATIC_INITIALIZER_FAILED \
"Static class initializer failed"
#define KVM_MSG_UNABLE_TO_INITIALIZE_SYSTEM_CLASSES \
"Unable to initialize system classes"
#define KVM_MSG_BAD_CALL_TO_GETRAWCLASS \
"Bad call to getRawClass"
#define KVM_MSG_BAD_CALL_TO_GETCLASS \
"Bad call to getClass"
#define KVM_MSG_BAD_SIGNATURE \
"Bad signature found"
#define KVM_MSG_STRINGBUFFER_OVERFLOW \
"Buffer overflow in getStringContentsSafely()"
#define KVM_MSG_CREATING_PRIMITIVE_ARRAY \
"Creating primitive array?"
/* Messages in collector.c and collectorDebug.c */
#define KVM_MSG_NOT_ENOUGH_MEMORY \
"Not enough memory to initialize the system"
#define KVM_MSG_CALLED_ALLOCATOR_WHEN_FORBIDDEN \
"Called memory allocator when forbidden"
#define KVM_MSG_UNABLE_TO_EXPAND_PERMANENT_MEMORY \
"Unable to expand permanent memory"
#define KVM_MSG_BAD_DYNAMIC_HEAP_OBJECTS_FOUND \
"Bad dynamic heap objects found"
#define KVM_MSG_BAD_STACK_INFORMATION \
"Bad stack information found"
#define KVM_MSG_SWEEPING_SCAN_WENT_PAST_HEAP_TOP \
"Sweeping scan went past heap top"
#define KVM_MSG_BREAK_TABLE_CORRUPTED \
"GC break table corrupted"
#define KVM_MSG_HEAP_ADDRESS_NOT_FOUR_BYTE_ALIGNED \
"Heap address is not four-byte aligned"
#define KVM_MSG_UNEXPECTED_STATICBIT \
"Unexpected STATICBIT found"
#define KVM_MSG_BAD_GC_TAG_VALUE \
"Bad GC tag value found"
#define KVM_MSG_INVALID_HEAP_POINTER \
"Invalid heap pointer found"
/* Additional messages in collectorDebug.c */
#define KVM_MSG_POINTER_IN_OLD_SPACE \
"Fatal: Pointer in old space"
#define KVM_MSG_HEAP_CORRUPTED \
"Heap corrupted"
/* Messages in execute.c */
#define KVM_MSG_ABSTRACT_METHOD_INVOKED \
"Abstract method invoked"
#define KVM_MSG_ILLEGAL_BYTECODE_1LONGPARAM \
"Illegal bytecode %ld"
#define KVM_MSG_SLOWINTERPRETER_STOPPED \
"Stopped in SlowInterpret()"
#define KVM_MSG_INTERPRETER_STOPPED \
"Stopped in Interpret()"
#define KVM_MSG_BYTECODE_NOT_IMPLEMENTED_1LONGPARAM \
"Bytecode %ld not implemented"
#define KVM_MSG_VMSAVE_NOT_CALLED \
"VMSAVE not called"
/* Messages in fields.c */
#define KVM_MSG_BAD_METHOD_SIGNATURE \
"Bad method signature"
#define KVM_MSG_BAD_CALL_TO_GETNAMEANDTYPEKEY \
"Bad call to getNameAndTypeKey()"
/* Messages in frame.c */
#define KVM_MSG_ILLEGAL_EXCEPTION_NAME_1STRPARAM \
"Illegal exception name %s"
/* Messages in garbage.c */
#define KVM_MSG_TEMPORARY_ROOT_OVERFLOW \
"Temporary root overflow"
#define KVM_MSG_GLOBAL_ROOT_OVERFLOW \
"Global root overflow"
#define KVM_MSG_OUT_OF_HEAP_MEMORY \
"Out of heap memory!"
#define KVM_MSG_ERROR_TOO_MANY_CLEANUP_REGISTRATIONS \
"Error, too many cleanup registrations"
#define KVM_MSG_CIRCULAR_GC_INVOCATION \
"Circular GC invocation!"
/* Messages in hashtable.c */
#define KVM_MSG_BAD_CALL_TO_GETUSTRING \
"Bad call to getUString()"
#define KVM_MSG_TOO_MANY_NAMETABLE_KEYS \
"Too many entries in name table"
#define KVM_MSG_TOO_MANY_CLASS_KEYS \
"Too many entries in class table"
#define KVM_MSG_CREATING_CLASS_IN_SYSTEM_PACKAGE \
"Cannot create class in system package"
#define KVM_MSG_BAD_UTF_STRING \
"Bad UTF string"
/* Messages in interpret.c */
#define KVM_MSG_STACK_POINTER_CORRUPTED \
"Stack pointer corrupted"
#define KVM_MSG_FRAME_POINTER_CORRUPTED \
"Frame pointer corrupted"
#define KVM_MSG_LOCALS_POINTER_CORRUPTED \
"Locals pointer corrupted"
#define KVM_MSG_ACTIVE_THREAD_COUNT_CORRUPTED \
"Active thread count corrupted"
#define KVM_MSG_NO_SUCH_FIELD_2STRPARAMS \
"No such field %s.%s"
#define KVM_MSG_NO_SUCH_METHOD_2STRPARAMS \
"No such method %s.%s"
/* Messages in loader.c */
#define KVM_MSG_BAD_UTF8_INDEX \
"Bad Utf8 index"
#define KVM_MSG_BAD_UTF8_STRING \
"Bad Utf8 string"
#define KVM_MSG_BAD_NAME \
"Bad class, field or method name"
#define KVM_MSG_BAD_CLASS_ACCESS_FLAGS \
"Bad class access flags"
#define KVM_MSG_BAD_FIELD_ACCESS_FLAGS \
"Bad field access flags"
#define KVM_MSG_BAD_FIELD_SIGNATURE \
"Bad field signature"
#define KVM_MSG_BAD_METHOD_ACCESS_FLAGS \
"Bad method access flags"
#define KVM_MSG_BAD_CONSTANT_INDEX \
"Bad constant index"
#define KVM_MSG_BAD_CONSTANT_TAG\
"Bad constant tag"
#define KVM_MSG_BAD_MAGIC_VALUE \
"Bad magic value"
#define KVM_MSG_BAD_VERSION_INFO \
"Bad version information"
#define KVM_MSG_BAD_64BIT_CONSTANT \
"Bad 64-bit constant"
#define KVM_MSG_INVALID_CONSTANT_POOL_ENTRY \
"Invalid constant pool entry"
#define KVM_MSG_BAD_FIELD_OR_METHOD_REFERENCE \
"Bad field or method reference"
#define KVM_MSG_BAD_NAME_OR_TYPE_REFERENCE \
"Bad name/type reference"
#define KVM_MSG_BAD_SUPERCLASS \
"Bad superclass"
#define KVM_MSG_BAD_CONSTANTVALUE_LENGTH \
"Bad ConstantValue length"
#define KVM_MSG_DUPLICATE_CONSTANTVALUE_ATTRIBUTE \
"Duplicate ConstantValue attribute"
#define KVM_MSG_BAD_CONSTANT_INDEX \
"Bad constant index"
#define KVM_MSG_DUPLICATE_FIELD_FOUND \
"Duplicate field found"
#define KVM_MSG_BAD_EXCEPTION_HANDLER_FOUND \
"Bad exception handler found"
#define KVM_MSG_BAD_NEWOBJECT \
"Bad NewObject"
#define KVM_MSG_BAD_STACKMAP \
"Bad stack map"
#define KVM_MSG_DUPLICATE_STACKMAP_ATTRIBUTE \
"Duplicate StackMap attribute"
#define KVM_MSG_METHOD_LONGER_THAN_32KB \
"Maximum byte code length (32kB) exceeded"
#define KVM_MSG_TOO_MANY_LOCALS_AND_STACK \
"Maximum size of locals and stack exceeded"
#define KVM_MSG_BAD_ATTRIBUTE_SIZE \
"Bad attribute size"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -