Symbian S60系统错误代码及原因

SOYO手机游戏论坛 » Symbian OS Series60 系统软件讨论交流区 » 解决掉S60系统出错问题

                                                                             
解决掉S60系统出错问题

  看到有人问错误代码的含义,现编辑一下所有错误代码以及显示错误代码的原因-----S60系统都会出现系统出错,其实我们解决的方法很简单:新建一个名为“ErrRd”的空文本文件,放到C:/system/bootdata这个目录下,让系统在出错时能显示出错代码,当然这时我们就知道了这个错误代码的原因了:
提示系统错误-1----------找不到指定文件
系统错误-2--------一般错误
系统错误-3------操作被取消
系统错误-4-------内存不足
系统错误-5--------不支持所要求的操作
系统错误-6--------错误要求
系统错误-7---------精确的失去总和
系统错误-8---------错误的物件
系统错误-9-----------超出限定的界限
系统错误-10---------少于限定的界限
系统错误-11---------已经存在了
系统错误-12---------找不到指定的目录
系统错误-13----------程序关闭
系统错误-14----------指定的物件正被其他程序使用中
系统错误-15----------服务器已关闭
系统错误-16-----------服务器正忙
系统错误-17---------完成的过程中出现错误
系统错误-18----------还没准备好
系统错误-19---------不知名的错误
系统错误-20----------错误
系统错误-21----------拒绝接受
系统错误-22------------锁闭
系统错误-23-----------读写失败
系统错误-24--------错误的磁盘
系统错误-25--------出乎预料的文件到了尾端
系统错误-26----------磁盘已满
系统错误-27-----------驱动损坏
系统错误-28----------不允许的名称
系统错误-29-----------Comms线失败
系统错误-30----------Comms线框框错误
系统错误-31----------Comms线超频错误
系统错误-33--------------时间到了
系统错误-34---------连接失败
系统错误-35----------断连接失败
系统错误-36------------断了
系统错误-37----------损坏的资料库接入点
系统错误-38-----------损坏的描述讯息块
系统错误-39-------------中断
系统错误-40------------太大
系统错误-41------------除于零
系统错误-42------------电池没电
系统错误-43------------目录满
系统错误-44-----------硬件未准备好

 

摘自:SOYO手机游戏论坛:http://www.soyo.cn/bbs/viewthread.php?tid=7248

另附Symbian SDK中关于系统错误的说明:

Symbian
Symbian OS Library

SYMBIAN OS V9.2

<script type="text/javascript">document.write( insertFeedback( 'mailto:sysdoc@symbian.com?subject=Feedback: e32err.h G[..]n Base E32&body=url: [..]cpp/E32_EKA2/e32err.hVariables.html%0D%0ADoc Version: ' ) ); </script>FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Location: e32err.h

e32err.h Global variables


KErrNone

const TInt KErrNone;

Description

System wide error code 0 : this represents the no-error condition.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrNotFound

const TInt KErrNotFound;

Description

System wide error code -1 : item not found.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrGeneral

const TInt KErrGeneral;

Description

System wide error code -2 : an error that has no specific categorisation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCancel

const TInt KErrCancel;

Description

System wide error code -3 : indicates an operation that has been cancelled.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrNoMemory

const TInt KErrNoMemory;

Description

System wide error code -4 : an attempt to allocate memory has failed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrNotSupported

const TInt KErrNotSupported;

Description

System wide error code -5 : some functionality is not supported in a given context.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

There may be many reasons for this; for example, a device may not support some specific behaviour.

[Top]


KErrArgument

const TInt KErrArgument;

Description

System wide error code -6 : an argument is out of range.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrTotalLossOfPrecision

const TInt KErrTotalLossOfPrecision;

Description

System wide error code -7 : a calculation has lost precision.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

This error arises when converting from an internal 96-bit real representation to a TReal32; the exponent of the internal representation is so small that the 32-bit real cannot contain it.

[Top]


KErrBadHandle

const TInt KErrBadHandle;

Description

System wide error code -8 : an invalid handle has been passed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

A function involving a resource owned by a server or the kernel has specified an invalid handle.

[Top]


KErrOverflow

const TInt KErrOverflow;

Description

System wide error code -9 : indicates an overflow in some operation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

In the context of mathematical or time/date functions, indicates a calculation that has produced arithmetic overflow exceeding the bounds allowed by the representation.

In the context of data transfer, indicates that a buffer has over-filled without being emptied soon enough.

[Top]


KErrUnderflow

const TInt KErrUnderflow;

Description

System wide error code -10 : indicates an underflow in some operation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

In the context of mathematical or time/date functions, indicates a calculation that has produced a result smaller than the smallest magnitude of a finite number allowed by the representation.

In the context of data transfer, indicates that a buffer was under-filled when data was required.

[Top]


KErrAlreadyExists

const TInt KErrAlreadyExists;

Description

System wide error code -11 : an object already exists.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

An object of some name/type is to be created, but an object of that name/type already exists.

[Top]


KErrPathNotFound

const TInt KErrPathNotFound;

Description

System wide error code -12 : in the context of file operations, a path was not found.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrDied

const TInt KErrDied;

Description

System wide error code -13 : a handle refers to a thread that has died.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrInUse

const TInt KErrInUse;

Description

System wide error code -14 : a requested resource is already in exclusive use.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrServerTerminated

const TInt KErrServerTerminated;

Description

System wide error code -15 : client/server send/receive operation cannot run, because the server has terminated.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrServerBusy

const TInt KErrServerBusy;

Description

System wide error code -16 : a client/server send/receive operation cannot run, because the server is busy handling another request.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCompletion

const TInt KErrCompletion;

Description

System wide error code -17 : indicates that an operation is complete, successfully or otherwise.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

This code may be used to indicate that some follow on operation can take place. It does not necessarily indicate an error condition.

[Top]


KErrNotReady

const TInt KErrNotReady;

Description

System wide error code -18 : indicates that a device required by an i/o operation is not ready to start operations.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

A common reason for returning this code is because a device has not been initialised, or has no power.

[Top]


KErrUnknown

const TInt KErrUnknown;

Description

System wide error code -19 : a device is of unknown type.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCorrupt

const TInt KErrCorrupt;

Description

System wide error code -20 : indicates that some media is not formatted properly, or links between sections of it have been corrupted.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrAccessDenied

const TInt KErrAccessDenied;

Description

System wide error code -21 : access to a file is denied, because the permissions on the file do not allow the requested operation to be performed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrLocked

const TInt KErrLocked;

Description

System wide error code -22 : an operation cannot be performed, because the part of the file to be read or written is locked.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrWrite

const TInt KErrWrite;

Description

System wide error code -23 : during a file write operation, not all the data could be written.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrDisMounted

const TInt KErrDisMounted;

Description

System wide error code -24 : a volume which was to be used for a file system operation has been dismounted.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrEof

const TInt KErrEof;

Description

System wide error code -25 : indicates that end of file has been reached.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

Note that RFile::Read() is a higher-level interface. When the end of the file is reached, it returns zero bytes in the destination descriptor, and a KErrNone return value. KErrEof is not used for this purpose; other error conditions are returned only if some other error condition was indicated on the file.

[Top]


KErrDiskFull

const TInt KErrDiskFull;

Description

System wide error code -26 : a write operation cannot complete, because the disk is full.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrBadDriver

const TInt KErrBadDriver;

Description

System wide error code -27 : a driver DLL is of the wrong type.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrBadName

const TInt KErrBadName;

Description

System wide error code -28 : a file name or other object name does not conform to the required syntax.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCommsLineFail

const TInt KErrCommsLineFail;

Description

System wide error code -29 : a communication line has failed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCommsFrame

const TInt KErrCommsFrame;

Description

System wide error code -30 : a frame error has occurred in a communications operation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCommsOverrun

const TInt KErrCommsOverrun;

Description

System wide error code -31 : an overrun has been detected by a communications driver.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCommsParity

const TInt KErrCommsParity;

Description

System wide error code -32 : a parity error has occurred in communications.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrTimedOut

const TInt KErrTimedOut;

Description

System wide error code -33 : an operation has timed out.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCouldNotConnect

const TInt KErrCouldNotConnect;

Description

System wide error code -34 : a session could not connect.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrCouldNotDisconnect

const TInt KErrCouldNotDisconnect;

Description

System wide error code -35 : a session could not disconnect.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrDisconnected

const TInt KErrDisconnected;

Description

System wide error code -36 : a function could not be executed because the required session was disconnected.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrBadLibraryEntryPoint

const TInt KErrBadLibraryEntryPoint;

Description

System wide error code -37 : a library entry point was not of the required type.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrBadDescriptor

const TInt KErrBadDescriptor;

Description

System wide error code -38 : a non-descriptor parameter was passed by a client interface, when a server expected a descriptor.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrAbort

const TInt KErrAbort;

Description

System wide error code -39 : an operation has been aborted.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrTooBig

const TInt KErrTooBig;

Description

System wide error code -40 : a number was too big.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrDivideByZero

const TInt KErrDivideByZero;

Description

System wide error code -41 : a divide-by-zero operation has been attempted.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrBadPower

const TInt KErrBadPower;

Description

System wide error code -42 : insufficient power was available to complete an operation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrDirFull

const TInt KErrDirFull;

Description

System wide error code -43 : an operation on a directory has failed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrHardwareNotAvailable

const TInt KErrHardwareNotAvailable;

Description

System wide error code -44 : an operation cannot be performed because the necessary hardware is not available.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrSessionClosed

const TInt KErrSessionClosed;

Description

System wide error code -45 : the completion status when an outstanding client/server message is completed because a shared session has been closed.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrPermissionDenied

const TInt KErrPermissionDenied;

Description

System wide error code -46 : an operation cannot be performed due to a potential security violation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

[Top]


KErrExtensionNotSupported

const TInt KErrExtensionNotSupported;

Description

System wide error code -47 : a requested extension function is not supported by the object concerned.

[Top]


KErrCommsBreak

const TInt KErrCommsBreak;

Description

System wide error code -48 : a break has occurred in a communications operation.

A system wide error code indicates an error in the environment, or in user input from which a program may recover.

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值