com.orchestranetworks.schema
Class InvalidSchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.orchestranetworks.schema.InvalidSchemaException
- All Implemented Interfaces:
- Serializable
- public class InvalidSchemaException
- extends RuntimeException
Thrown to indicate that a schema is not valid regarding some dynamic conditions.
Usually a schema is fully checked at schema-validation time and any error is cleanly
added at this time without the need to throw an exception. However, as sometimes
schema validity depends dynamically upon the execution context,
the implied conditions may become invalid. For example:
- a schema uses a reference to an adaptation, but this adaptation is deleted;
- a schema uses an external resource but this resource becomes unavailable or erroneous;
In those cases the "clean" way to signal a problem is to throw this exception.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidSchemaException
public InvalidSchemaException(UserMessage aMessage)
InvalidSchemaException
public InvalidSchemaException(String aMessage)
InvalidSchemaException
public InvalidSchemaException(String aMessage,
Throwable aCause)
InvalidSchemaException
public InvalidSchemaException(Throwable aCause)
getUserMessage
public UserMessage getUserMessage()
(report a bug)
EBX.Platform 4.5.0 [0598]
Copyright Orchestra Networks 2000-2008. All rights reserved.