|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.MetadataUnresolvedException
public class MetadataUnresolvedException
Specifies an exception that is thrown when an unresolved BusinessModelResource object's method is called and that method is not supported because the object is unresolved.
Nearly all methods on unresolved BusinessModelResource objects will throw this exception except for isUnresolved(), getLabel(), getDescription() and getIdentityString(). One should call isUnresolved() prior to calling "meaningful" methods on a BusinessModelResource object to ensure that this exception is not accidentally missed since it is a RuntimeException.
Constructor Summary | |
---|---|
MetadataUnresolvedException(BusinessModelResource unresolvedResource,
java.lang.String message)
Constructs a MetadataUnresolvedException with the unresolved object and specified detail message. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the detail message associated with this exception. |
BusinessModelResource |
getUnresolvedResource()
Returns the unresolved BusinessModelResource object associated with this exception. |
Constructor Detail |
---|
public MetadataUnresolvedException(BusinessModelResource unresolvedResource, java.lang.String message)
MetadataUnresolvedException
with the unresolved object and specified detail message.
unresolvedResource
- The unresovled BusinessModelResource object associated with this exception.message
- The detail message.Method Detail |
---|
public BusinessModelResource getUnresolvedResource()
public java.lang.String getMessage()
getMessage
in class IQueryServicesRuntimeException
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |