oracle.olapi.data.source
Class UnmatchedInputsException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--oracle.olapi.data.source.UnmatchedInputsException
- public class UnmatchedInputsException
- extends java.lang.RuntimeException
Indicates that an input of a Source
does not have a matching Source
. This Exception
occurs, for example, when you try to create a CursorManager
for a Source
that has one or more unmatched inputs.
To create the CursorManager
, you can match the unmatched inputs by doing one of the following:
- With the
getUnmatchedInputIDs
method, get a List
of the unique identifiers of the Source
objects that are the unmatched inputs.
- For each unmatched input, join a
Source
object that matches the input to the Source
that has the input.
- If you are creating an
ExpressDataCursorManager
, by using a createCursorManager
method that does not require a CursorManagerSpecification
, then for each unmatched input, create a parameterized Source
that matches it. Use the parameterized Source
objects in join operations to supply the missing input matches.
- If you are creating an
ExpressSpecifiedCursorManager
, by using a createCursorManager
method that requires a CursorManagerSpecification
, then create an array of Source
objects that are match the unmatched inputs and use the array as the inputSources
argument to the DataProvider.createCursorManager(CursorManagerSpecification cursorManagerSpecification, Source[] inputSources)
method.
- See Also:
Source.getID()
, Serialized Form
Method Summary |
java.util.List |
getUnmatchedInputIDs()
Gets a List of the unique identifiers of the Source objects that are the unmatched inputs. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnmatchedInputsException
public UnmatchedInputsException(java.util.List unmatchedInputIDs)
- Creates an
UnmatchedInputsException
.
-
- Parameters:
unmatchedInputIDs
- A List
of the unique identifiers for the Source
objects that are the unmatched inputs.
getUnmatchedInputIDs
public java.util.List getUnmatchedInputIDs()
- Gets a
List
of the unique identifiers of the Source
objects that are the unmatched inputs.
-
- Returns:
- A
List
of the unique identifiers for the Source
objects that are the unmatched inputs.
Copyright © 2002, 2005, Oracle. All rights reserved.