com.crystaldecisions.sdk.exception
Class SDKException.MultipleDocumentKinds

java.lang.Object
  extended by AbstractException
      extended by com.crystaldecisions.sdk.exception.SDKException
          extended by com.crystaldecisions.sdk.exception.SDKException.InvalidPublicationConfiguration
              extended by com.crystaldecisions.sdk.exception.SDKException.MultipleDocumentKinds
Enclosing class:
SDKException

public static class SDKException.MultipleDocumentKinds
extends SDKException.InvalidPublicationConfiguration

This exception is thrown when a publication contains more than one kind of schedulable document.

A publication may contain multiple schedulable documents, but those documents must all be of the same kind. For example, you can have two Web Intelligence documents in the same publication, but you cannot have one Web Intelligence document and one Crystal Reports document.

To correct the problem, modify the collection of documents returned by the getDocuments method of the IPublication interface so that it only contains one kind of schedulable document (only Crystal Reports, only Web Intelligence, or only Desktop Intelligence documents). Create additional publications to publish the other kinds of scheduled documents.

Note that this restriction does not apply to static documents; the publication can contain any number of documents of other types.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.crystaldecisions.sdk.exception.SDKException
SDKException.AlreadyIndexing, SDKException.AmbiguousDestinationUpdate, SDKException.ApplicationObjectCUIDNotSet, SDKException.AuditBatchTooLarge, SDKException.AuditDetailUnsettableError, SDKException.AuditFailure, SDKException.AuditLevelError, SDKException.AuditServiceDisabled, SDKException.CertificateGenerationError, SDKException.CMSDatabaseUnavailable, SDKException.CMSQueryParseException, SDKException.CollectionSizeMismatch, SDKException.CommitError, SDKException.CompromiseWrongKeyState, SDKException.ConfidentialChannelFailed, SDKException.ConfidentialChannelMandatory, SDKException.ConfigurationError, SDKException.ContradictingValues, SDKException.CORBASystem, SDKException.CORBAUser, SDKException.DifferentDeployment, SDKException.DifferentEnterpriseVersion, SDKException.DuplicateDestinationStaticDocument, SDKException.DuplicateEntry, SDKException.DuplicateFormatInfo, SDKException.EmptyQuery, SDKException.EncryptionError, SDKException.EndOfFile, SDKException.ErrorCode, SDKException.EventTypeDisabled, SDKException.EventTypeNotSupported, SDKException.ExceptionWrapper, SDKException.ExpectedOneOfError, SDKException.FailedIndexingTaskException, SDKException.FailedToBuildAxisService, SDKException.FailedToCreateDoc, SDKException.FailToReadFile, SDKException.FailToReadWholeFile, SDKException.FileCommitError, SDKException.FileCopyError, SDKException.FileEncryptionKeyGenerationFailed, SDKException.FileEncryptionStreamFailure, SDKException.FileNotFound, SDKException.FileRead, SDKException.FileReaderError, SDKException.FileRemoveError, SDKException.FileTooLarge, SDKException.FileWrite, SDKException.FileWriterError, SDKException.GenericFileStoreError, SDKException.HanaAuthenticationConfigError, SDKException.HotBackupInvalidValue, SDKException.IndexingFailure, SDKException.IndexNotReady, SDKException.IndexWriteException, SDKException.InfoObjectFileCommitError, SDKException.InstanceNumberError, SDKException.InvalidArg, SDKException.InvalidCMSQuery, SDKException.InvalidCMSSyntax, SDKException.InvalidCopyMode, SDKException.InvalidDestinationDocument, SDKException.InvalidDestinationFormat, SDKException.InvalidDestinationStaticDocument, SDKException.InvalidEventDetail, SDKException.InvalidEventDetailValue, SDKException.InvalidEventType, SDKException.InvalidEventValues, SDKException.InvalidFileError, SDKException.InvalidFilesStructure, SDKException.InvalidHostSpecification, SDKException.InvalidLocale, SDKException.InvalidLogonToken, SDKException.InvalidNewPropertyValueNonNegativeOnly, SDKException.InvalidObjectID, SDKException.InvalidOperation, SDKException.InvalidOperationOnEncryptedFile, SDKException.InvalidPagingIndex, SDKException.InvalidPortError, SDKException.InvalidPublicationConfiguration, SDKException.InvalidRightKind, SDKException.InvalidSearch, SDKException.InvalidType, SDKException.LengthOutOfRange, SDKException.LocaleNotSet, SDKException.MissingEdge, SDKException.MissingProcessingInfo, SDKException.MissingSessionInfo, SDKException.MultipleDocumentKinds, SDKException.MultiplePublicationDocumentsNotSupported, SDKException.NativeError, SDKException.NoRight, SDKException.NoRightChildren, SDKException.NoSearcher, SDKException.NotActiveKeyState, SDKException.NotImplemented, SDKException.ObjectNotFound, SDKException.OCAFramework, SDKException.OperationNotAvailableInThisEnterpriseVersion, SDKException.OriginalObjectHasChanged, SDKException.OutOfRange, SDKException.PageServerError, SDKException.PJSServerShutDown, SDKException.PluginCategory, SDKException.PluginInitialization, SDKException.PluginNotFound, SDKException.PluginNotFoundAtCMS, SDKException.PropagationNotPossible, SDKException.PropertyNotFound, SDKException.PropertyReadOnly, SDKException.PublishingNotSupported, SDKException.PVLNotSet, SDKException.RekeyWrongKeyState, SDKException.ResumeWrongKeyState, SDKException.RightsAdmin, SDKException.SameDeployment, SDKException.SAMLAssertionGenerationFailure, SDKException.SAMLMissingSPRequiredUserProperty, SDKException.SAMLServiceProviderNotFoundByHostAndPort, SDKException.SAMLSLORequestGenerationFailure, SDKException.SAMLTestConnectionFailure, SDKException.SAMLTestConnectionMustBeAdministrator, SDKException.SDKServerExceptionWrapper, SDKException.SearchServiceNotReady, SDKException.SecurityCommitError, SDKException.SecurityError, SDKException.Serialization, SDKException.SerializationError, SDKException.ServerAdminError, SDKException.ServiceAdminError, SDKException.ServiceContainerInUse, SDKException.ServiceDisabled, SDKException.ServiceFailure, SDKException.ServiceInUse, SDKException.ServiceNotFound, SDKException.ServiceNotSupported, SDKException.SignatureGenerationFailure, SDKException.StreamRead, SDKException.StreamSeekError, SDKException.StreamWorkIntegrationConfigError, SDKException.StreamWorkIntegrationDisabled, SDKException.StreamWrite, SDKException.SuspendWrongKeyState, SDKException.TimeOut, SDKException.TrustedPrincipalConfigError, SDKException.Unexpected, SDKException.UnexpectedValue, SDKException.UnsupportedEnterpriseVersion, SDKException.URIFormat, SDKException.VISISessionAcquiringException, SDKException.WinADNotSupported
 
Constructor Summary
SDKException.MultipleDocumentKinds()
           
 
Method Summary
 
Methods inherited from class com.crystaldecisions.sdk.exception.SDKException
map, map, map, map
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDKException.MultipleDocumentKinds

public SDKException.MultipleDocumentKinds()