Class VeniceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConcurrentBatchPushException, ConfigurationException, DiskLimitExhaustedException, DuplicateTopicException, HelixClusterMaintenanceModeException, InvalidDatabaseNameException, InvalidVeniceSchemaException, KafkaConsumerException, MemoryLimitExhaustedException, MissingKeyInStoreMetadataException, PartitionerSchemaMismatchException, PersistenceFailureException, PubSubClientException, QuotaExceededException, RecordTooLargeException, ResourceStillExistsException, SchemaDuplicateException, SchemaIncompatibilityException, StorageEngineInitializationException, StorageInitializationException, StoragePartitionInitializationException, StoreDisabledException, StoreKeySchemaExistException, VeniceAclException, VeniceBlobTransferFileNotFoundException, VeniceChecksumException, VeniceClientException, VeniceCoordinateOutOfRangeException, VeniceHttpException, VeniceInconsistentSchemaException, VeniceInconsistentStoreMetadataException, VeniceIngestionTaskKilledException, VeniceKeyCountLimitException, VeniceMessageException, VeniceNoClusterException, VeniceNoStoreException, VenicePeersConnectionException, VenicePeersNotFoundException, VeniceRequestEarlyTerminationException, VeniceResourceAccessException, VeniceRetriableException, VeniceRouterException, VeniceSchemaFieldNotFoundException, VeniceSerializationException, VeniceStoreAlreadyExistsException, VeniceStoreCreationException, VeniceStoreIsMigratedException, VeniceUnauthorizedAccessException, VeniceUnsupportedOperationException, VeniceValidationException, VsonSerializationException, WriteComputeSchemaValidator.InvalidWriteComputeException, ZkDataAccessException

public class VeniceException extends RuntimeException
Base exception that all other Venice exceptions extend
See Also:
  • Field Details

  • Constructor Details

    • VeniceException

      public VeniceException()
    • VeniceException

      public VeniceException(String s)
    • VeniceException

      public VeniceException(String s, boolean fillInStacktrace)
    • VeniceException

      public VeniceException(String s, ErrorType errorType)
    • VeniceException

      public VeniceException(Throwable t)
    • VeniceException

      public VeniceException(String s, Throwable t)
    • VeniceException

      public VeniceException(String s, Throwable t, ErrorType errorType)
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      If this exception is caught in handling an http request, what status code should be returned? Exceptions that extend VeniceException can override this for different behavior
      Returns:
      500 (Internal Server Error)
    • getErrorType

      public final ErrorType getErrorType()
      Returns the errorType. Extenders of this class should fill in the errorType member
      Returns: