So, if any of those methods contain references to any fields in the original class, you get a compiler error because they are invisible to the superclass.
所以,如果这些方法中的任何一个方法含有对原始类中的任何字段的引用,就会得到一个编译错误,因为它们对超类是不可见的。
A common example of an error in a profile is a stereotype or class attribute with no type.
概要文件中的一个普通错误案例都是原型或者没有类型的类属性。
Then we will get a signaled error, but it will be long after the real problem occurred -- the bad instantiation of class D.
然后,我们将得到一个报告的错误,但这将在实际问题发生很久以后 ―类 D 的糟糕实例化。
This could occur if the bytecodes had been deliberately hacked, for example, or if an error had occurred when transferring the class file over a network.
例如,如果对字节码故意做了更改,或者在通过网络传送类文件时现出了错误,那么就可能发生这个异常。
This error is thrown during the initialization phase of class loading.
这个错误在类装入的初始化阶段抛出。
If the classpath is set correctly but you're still seeing the error, then the desired class is not present on the classpath.
如果类路径设置正确,但是仍然看到这个错误,那么就是需要的类在类路径中不存在。
As with properties, any attempt to call a private method from outside the containing class causes a fatal error.
与属性一样,尝试从包含类外部调用私有方法将导致致命错误。
Listing 2 adds a class to the source shown in Listing 1 and registers that error handler with the parser.
清单2在清单1中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。
Very specific keywords taken from specific symptoms that you observed, such as an error message or error number, or the name of a class or method found in a stack trace, and so on.
取自所观察到的特定症状的非常特定的关键字,例如错误消息或错误编号,或者在堆栈跟踪中找到的类或方法名称,等等。
All the lines in the file are tagged with a unique id and all lines are tagged with the identifier and class of the error message.
文件中的所有行都是使用唯一ID标记的,并且所有的行都标有错误消息的标识符和类。
There are actually two types of validation error messages - those generated before the HTML form fields are bound to a class and those generated after the form fields are bound to the class.
实际上有两种错误消息类型:在捆绑html表单的时候根据类型生成的,和提交后表单元素绑定的类生成的。
The error occurs because a ':' is only used to separate the JAR ID and class ID.
出现这个错误是因为‘:’只用于分隔JARID与类id。
If the specified class doesn't exist (or can't be loaded for any other reason) an error is generated.
如果指定的类不存在(或者由于其他原因不能加载),则会产生一个错误。
DiscussionError is a custom class (a fault) that contains the error message, the function name where it is generated, and the database name containing the Web services.
DiscussionError是一个(默认)自定义类,其中包含了错误消息、生成消息的函数名和包含Web服务的数据库名。
An editor will open in the Eclipse workbench containing the highlighted error from the appropriate class.
Eclipse工作台将打开一个编辑器,该编辑器包含并显示出了与正确类对比的错误。
Finally, the exception package contains the SOAException base class, which is used to log error conditions and trigger the transaction retry and recovery logic.
最后,exception包包含SOAException基类。它用于记录错误条件并触发事务重试和恢复逻辑。
But if you picked a specific domain class (say the Customer class) and tested the error handling aspect against it, you would risk muddying the intent of your test.
但是如果选择了特定的域类(比如customer类),并测试了它的错误处理方面,那么就会有模糊测试目的的可能性。
Any class that extends DictionaryIO must implement the import and export methods or risk a fatal error.
继承DictionaryIO的任何类必须实现import和export方法,否则就可能得到致命错误。
The default action for the default work class of the GSC routing policies is to reject the request with a 404 (Not Found) error.
GSC路由策略的默认工作类的默认行为是使用一个 404 (NotFound)错误拒绝请求。
The valid.css file (see Listing 10) defines the ValidationError style class that is used for the error messages
css文件(参见清单10)定义了用于错误消息的ValidationError样式类
To avoid this error, open the Web Service Properties box and specify which class to use.
若要避免此错误,请打开WebServiceProperties框,然后指定要使用的类。
Here is the error Python gives when we rename the Foo class and then try to load a previously pickled Foo instance.
这里有一个Python发出错误消息的示例,当我们重命名foo类,然后试图装入先前进行过pickle的foo实例时会发生该错误。
You can use add(String property, ActionError error) of the ActionErrors class to associate a form property with error(s).
可以使用ActionErrors类的add(Stringproperty,ActionErrorerror) 方法为一个表单属性关联一些错误。
Sometimes, you might receive the following error while invoking the web service class (the error description would be similar to one of the following errors)
有时,在调用Web服务类时(错误描述与以下的错误很相似),您可能会接受以下的错误
The error displayed is a NullPointerException occurring in the toString method on the Appointment class.
显示的错误是一个NullPointerException,它发生在appointment类上的toString方法中。
However, if the class path is set incorrectly, the command that should output version information instead outputs a frustrating NoClassDefFoundError error.
然而,如果类路径的设置不正确,那么应该输出版本信息的命令就会输出一个令人泄气的NoClassDefFoundError错误。
Checked exceptions inherit from exception class and are used to handle recoverable errors such as business error scenarios.
已检查异常继承自exception类并用于处理可恢复性出错诸如业务出错场景。
For instance, if you type classs instead of class, it will affect the creation of a TypeDeclaration node, and it will be an error.
比方说,如果输入classs而不是输入class,那么会影响到TypeDeclaration节点的创建,这就是一个错误。
For example, to refer to PHP Exception class, you would use $error = new \Exception();.
例如,要想引用PHPException类,应该使用 $error =new \Exception();。
Those repetitions make the application prone to minor errors (e.g., a mis-spelled class name would show up as an hard-to-debug error at runtime).
这些重复使应用易于出错(例如,一个拼写错误的类名可能在运行时显示为一个难于调试错误)。
应用推荐