|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.el Class PropertyNotWritableException
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.el.ELException javax.el.PropertyNotWritableException
- All Implemented Interfaces:
- Serializable
public class PropertyNotWritableException
- extends ELException
Extends:
Throwable > Exception > RuntimeException > ELException
如果在
ValueExpression
上设置值时无法写入属性,则抛出该异常。
例如,尝试在不可修改的映射上设置映射值可能会触发此异常。
since | JSP 2.1 |
Thrown when a property could not be written to while setting the
value on a ValueExpression
.
For example, this could be triggered by trying to set a map value on an unmodifiable map.
- Since:
- JSP 2.1
- See Also:
- Serialized Form
Constructor Summary | |
---|---|
PropertyNotWritableException()
Creates a PropertyNotWritableException with no detail
message. |
|
PropertyNotWritableException(String pMessage)
Creates a PropertyNotWritableException with the
provided detail message. |
|
PropertyNotWritableException(String pMessage,
Throwable pRootCause)
Creates a PropertyNotWritableException with the given
detail message and root cause. |
|
PropertyNotWritableException(Throwable exception)
Creates a PropertyNotWritableException with the given root
cause. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public
PropertyNotWritableException()
创建不带详细消息的 PropertyNotWritableException
。
英文文档:
PropertyNotWritableException
public PropertyNotWritableException()
- Creates a
PropertyNotWritableException
with no detail message.
public
PropertyNotWritableException(String pMessage)
创建带有提供的详细消息的 PropertyNotWritableException
。
pMessage | 详细信息 |
PropertyNotWritableException
public PropertyNotWritableException(String pMessage)
- Creates a
PropertyNotWritableException
with the provided detail message.- Parameters:
pMessage
- the detail message
public
PropertyNotWritableException(Throwable exception)
创建带给定的根本原因的 PropertyNotWritableException
。
exception | 此异常的根本原因 |
PropertyNotWritableException
public PropertyNotWritableException(Throwable exception)
- Creates a
PropertyNotWritableException
with the given root cause.- Parameters:
exception
- the originating cause of this exception
public
PropertyNotWritableException(String pMessage, Throwable pRootCause)
创建带给定详细消息和根本原因的 PropertyNotWritableException
。
pMessage | 详细信息 |
pRootCause | 此异常的根本原因 |
PropertyNotWritableException
public PropertyNotWritableException(String pMessage, Throwable pRootCause)
- Creates a
PropertyNotWritableException
with the given detail message and root cause.- Parameters:
pMessage
- the detail messagepRootCause
- the originating cause of this exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!