⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messages.h

📁 一个操作系统源代码 用于嵌入式设备 在Vc++环境下仿真 成功移植到多款处理器上
💻 H
📖 第 1 页 / 共 2 页
字号:
        "Bad frame size"

#define KVM_MSG_DUPLICATE_METHOD_FOUND \
        "Duplicate method found"

#define KVM_MSG_CLASSFILE_SIZE_DOES_NOT_MATCH \
        "Class file size does not match"

#define KVM_MSG_CANNOT_LOAD_CLASS_1PARAM \
        "Unable to load class %s"

#define KVM_MSG_CLASS_CIRCULARITY_ERROR \
        "Class circularity error"

#define KVM_MSG_CLASS_EXTENDS_FINAL_CLASS \
        "Class extends a final class"

#define KVM_MSG_CLASS_EXTENDS_INTERFACE \
        "Class extends an interface"

#define KVM_MSG_CLASS_IMPLEMENTS_ARRAY_CLASS \
        "Class implements an array class"

#define KVM_MSG_CLASS_IMPLEMENTS_ITSELF \
        "Class implements itself"

#define KVM_MSG_INTERFACE_CIRCULARITY_ERROR \
        "Interface circularity error"

#define KVM_MSG_CLASS_IMPLEMENTS_NON_INTERFACE \
        "Class implements a non-interface"

#define KVM_MSG_UNABLE_TO_COPY_TO_STATIC_MEMORY \
        "Unable to copy data to static memory"


/* Messages in native.c */

#define KVM_MSG_NATIVE_METHOD_NOT_FOUND_2STRPARAMS \
        "Native method '%s::%s' not found" 

#define KVM_MSG_NATIVE_METHOD_BAD_USE_OF_TEMPORARY_ROOTS \
        "Native method '%s::%s' has used temporary roots incorrectly" 


/* Messages in pool.c */

#define KVM_MSG_CANNOT_ACCESS_CLASS_FROM_CLASS_2STRPARAMS \
        "Cannot access class %s from class %s"

#define KVM_MSG_ILLEGAL_CONSTANT_CLASS_REFERENCE \
        "Illegal CONSTANT_Class reference"

#define KVM_MSG_INCOMPATIBLE_CLASS_CHANGE_2STRPARAMS \
        "Incompatible class change: %s.%s"

#define KVM_MSG_INCOMPATIBLE_CLASS_CHANGE_3STRPARAMS \
        "Incompatible class change: %s.%s%s"

#define KVM_MSG_CANNOT_MODIFY_FINAL_FIELD_3STRPARAMS \
        "Cannot modify final field %s.%s from class %s"

#define KVM_MSG_CANNOT_ACCESS_MEMBER_FROM_CLASS_3STRPARAMS \
        "Cannot access %s.%s from class %s"


/* Messages in thread.c */

#define KVM_MSG_BAD_PENDING_EXCEPTION \
        "Bad pendingException in SwitchThread()"

#define KVM_MSG_ATTEMPTING_TO_SWITCH_TO_INACTIVE_THREAD \
        "Attempting to switch to an inactive thread"

#define KVM_MSG_CLASS_DOES_NOT_HAVE_MAIN_FUNCTION \
        "Class does not contain 'main' function"

#define KVM_MSG_MAIN_FUNCTION_MUST_BE_PUBLIC \
        "'main' must be declared public"

#define KVM_MSG_ATTEMPTING_TO_RESUME_NONSUSPENDED_THREAD \
        "Attempting to resume a non-suspended thread"

#define KVM_MSG_ATTEMPTING_TO_RESUME_CURRENT_THREAD \
        "Attempting to resume current thread"

#define KVM_MSG_BAD_CALL_TO_ADDCONDVARWAIT \
        "Bad call to addCondvarWait()"

#define KVM_MSG_THREAD_NOT_ON_CONDVAR_QUEUE \
        "Thread not on condvar queue"


/* Messages in stackmap.c */

#define KVM_MSG_EXPECTED_RESOLVED_FIELD \
        "Expected a resolved field"

#define KVM_MSG_EXPECTED_RESOLVED_METHOD \
        "Expected a resolved method"

#define KVM_MSG_UNEXPECTED_BYTECODE \
        "Unexpected bytecode"

#define KVM_MSG_ARGUMENT_POPPING_FAILED \
        "Popping args reduced stack size to 0"

#define KVM_MSG_ILLEGAL_STACK_SIZE \
        "Illegal stack size"

#define KVM_MSG_STRANGE_VALUE_OF_THISIP \
        "Strange value of thisIP"

/*=========================================================================
 * Messages in VmExtra
 *=======================================================================*/

/* Messages in commProtocol.c */

#define KVM_MSG_COMM_WRITE_INCOMPLETE \
        "Comm port error: Write incomplete"

#define KVM_MSG_PROTOCOL_NAME_TOO_LONG \
        "Protocol name too long"


/* Messages in debugger.c */

#define KVM_MSG_DEBUGGER_COULD_NOT_FIND_METHOD \
        "Debugger could not find method"

#define KVM_MSG_DEBUGGER_COULD_NOT_FIND_FIELD \
        "Debugger could not find field"

#define KVM_MSG_UNKNOWN_DEBUGGER_COMMAND_SET \
        "Unknown JDWP debugger command set\n"

#define KVM_MSG_UNKNOWN_JDWP_COMMAND \
        "Unknown JDWP command\n"


/* Messages in debuggerOutputStream.c */

#define KVM_MSG_INVALID_JDWP_TYPE_TAG \
        "Invalid JDWP type tag"


/* Messages in debuggerSocketIO.c */

#define KVM_MSG_DEBUGGER_COULD_NOT_INIT_WINSOCK \
        "Debugger could not init WinSock\n"

#define KVM_MSG_DEBUGGER_COULD_NOT_OPEN_LISTENSOCKET \
        "Debugger could not open listenSocket\n"

#define KVM_MSG_DEBUGGER_COULD_NOT_BIND_LISTENSOCKET \
        "Debugger could not bind listenSocket\n"

#define KVM_MSG_DEBUGGER_COULD_NOT_LISTEN_TO_SOCKET \
        "Debugger could not listen to socket\n"

#define KVM_MSG_DEBUGGER_FD_SELECT_FAILED \
        "Debugger FD select failed\n"

#define KVM_MSG_DEBUGGER_FD_ACCEPT_FAILED \
        "Debugger FD accept failed\n"


/* Messages in fakeStaticMemory.c */

#define KVM_MSG_STATIC_MEMORY_ERROR \
        "Bad static memory pointers"

#define KVM_MSG_OUT_OF_STATIC_MEMORY \
        "Out of static memory!"


/* Messages in inflate.c */

#define KVM_MSG_JAR_INVALID_BTYPE \
        "Invalid BTYPE"

#define KVM_MSG_JAR_INPUT_BIT_ERROR \
        "Invalid input bits"

#define KVM_MSG_JAR_OUTPUT_BIT_ERROR \
        "Invalid output bits"

#define KVM_MSG_JAR_BAD_LENGTH_FIELD \
        "Bad length field"

#define KVM_MSG_JAR_INPUT_OVERFLOW \
        "Input overflow"

#define KVM_MSG_JAR_OUTPUT_OVERFLOW \
        "Output overflow"

#define KVM_MSG_JAR_DRAGON_SINGLE_BYTE \
        "Dragon single byte"

#define KVM_MSG_JAR_INVALID_LITERAL_OR_LENGTH \
        "Invalid literal/length"

#define KVM_MSG_JAR_BAD_DISTANCE_CODE \
        "Bad distance code"

#define KVM_MSG_JAR_COPY_UNDERFLOW \
        "Copy underflow"

#define KVM_MSG_JAR_DRAGON_COPY_FAILED \
        "Dragon copy failed"

#define KVM_MSG_JAR_BAD_REPEAT_CODE \
        "Bad repeat code"

#define KVM_MSG_JAR_BAD_CODELENGTH_CODE \
        "Bad code-length code"

#define KVM_MSG_JAR_CODE_TABLE_EMPTY \
        "Code table empty"

#define KVM_MSG_JAR_UNEXPECTED_BIT_CODES \
        "Unexpected bit codes"


/* Messages in loaderFile.c */

#define KVM_MSG_RESOURCE_NOT_FOUND_1STRPARAM \
        "Resource %s not found"


/* Messages in main.c */

#define KVM_MSG_CANT_COMBINE_CLASSPATH_OPTION_WITH_JAM_OPTION \
        "Can't combine '-classpath' with '-jam' option\n"

#define KVM_MSG_CANT_COMBINE_DEBUGGER_OPTION_WITH_REPEAT_OPTION \
        "Can't combine '-debugger' with '-repeat' option\n"

#define KVM_MSG_CLASSPATH_NOT_SET \
        "Classpath is not set. Defaulting to '.'\n"

#define KVM_MSG_EXPECTING_HTTP_OR_FILE_WITH_JAM_OPTION \
        "Expecting 'http:' or 'file:' URL with the '-jam' option\n"

#define KVM_MSG_USES_32K_MINIMUM_MEMORY \
        "KVM requires 32kB minimum memory"

#define KVM_MSG_USES_64M_MAXIMUM_MEMORY \
        "KVM allows 64MB maximum memory"


/* Messages in nativeSpotlet.c */

#define KVM_MSG_NOT_IMPLEMENTED \
        "Unimplemented feature"


/* Messages in network.c */

#define KVM_MSG_COULD_NOT_FIND_FIELD_1STRPARAM \
        "Could not find field %s"

#define KVM_MSG_CANNOT_RECEIVE_DATAGRAMS_LONGER_THAN_65535 \
        "Cannot receive datagrams > 65535"

#define KVM_MSG_BUFFER_OVERFLOW_IN_SERVERSOCKET_OPEN \
        "Buffer overflow in serversocket:open()"


/* Messages in networkPrim.c */

#define KVM_MSG_COULD_NOT_MAKE_SOCKET_NONBLOCKING \
        "Could not make socket non-blocking"

#define KVM_MSG_WSASTARTUP_FAILURE \
        "Windows sockets WSAtartup failure"

#define KVM_MSG_PALM_APP_MUST_BE_BUILT_WITH_NETWORKING \
        "Palm application must be built with '-networking' flag!"


/* Messages in verifier.c */

#define KVM_MSG_VERIFIER_STATUS_INFO_INITIALIZER                       \
{   /*  0 */    NULL,  /* SUCCESS */                                   \
    /*  1 */    "Stack Overflow",                                      \
    /*  2 */    "Stack Underflow",                                     \
    /*  3 */    "Unexpected Long or Double on Stack",                  \
    /*  4 */    "Bad type on stack",                                   \
    /*  5 */    "Too many locals",                                     \
    /*  6 */    "Bad type in local",                                   \
    /*  7 */    "Locals underflow",                                    \
    /*  8 */    "Inconsistent or missing stackmap at target",          \
    /*  9 */    "Backwards branch with unitialized object",            \
    /* 10 */    "Inconsistent stackmap at next instruction",           \
    /* 11 */    "Expect constant pool entry of type class",            \
    /* 12 */    "Expect subclass of java.lang.Throwable",              \
    /* 13 */    "Items in lookupswitch not sorted",                    \
    /* 14 */    "Bad constant pool for ldc",                           \
    /* 15 */    "baload requires byte[] or boolean[]",                 \
    /* 16 */    "aaload requires subtype of Object[]",                 \
    /* 17 */    "bastore requires byte[] or boolean[]",                \
    /* 18 */    "bad array or element type for aastore",               \
    /* 19 */    "VE_FIELD_BAD_TYPE",                                   \
    /* 20 */    "Bad constant pool type for invoker",                  \
    /* 21 */    "Insufficient args on stack for method call",          \
    /* 22 */    "Bad arguments on stack for method call",              \
    /* 23 */    "Bad invocation of initialization method",             \
    /* 24 */    "Bad stackmap reference to unitialized object",        \
    /* 25 */    "Initializer called on already initialized object",    \
    /* 26 */    "Illegal byte code (possibly floating point)",         \
    /* 27 */    "arraylength on non-array",                            \
    /* 28 */    "Bad dimension of constant pool for multianewarray",   \
    /* 29 */    "Value returned from void method",                     \
    /* 30 */    "Wrong value returned from method",                    \
    /* 31 */    "Value not returned from method",                      \
    /* 32 */    "Initializer not initializing this",                   \
    /* 33 */    "Illegal offset for stackmap",                         \
    /* 34 */    "Code can fall off the bottom",                        \
    /* 35 */    "Last byte of invokeinterface must be zero",           \
    /* 36 */    "Bad nargs field for invokeinterface",                 \
    /* 37 */    "Bad call to invokespecial",                           \
    /* 38 */    "Bad call to <init> method",                           \
    /* 39 */    "Constant pool entry must be a field reference",       \
    /* 40 */    "Override of final method",                            \
    /* 41 */    "Code ends in middle of byte code",                    \
    /* 42 */    "ITEM_NewObject stack-map type has illegal offset"     \
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -