Package com.linkedin.venice.exceptions
Class VeniceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linkedin.venice.exceptions.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
Base exception that all other Venice exceptions extend
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVeniceException
(String s, boolean fillInStacktrace) VeniceException
(String s, ErrorType errorType) VeniceException
(String s, Throwable t) VeniceException
(String s, Throwable t, ErrorType errorType) -
Method Summary
Modifier and TypeMethodDescriptionfinal ErrorType
Returns the errorType.int
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 behaviorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorType
-
-
Constructor Details
-
VeniceException
public VeniceException() -
VeniceException
-
VeniceException
-
VeniceException
-
VeniceException
-
VeniceException
-
VeniceException
-
-
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
Returns the errorType. Extenders of this class should fill in the errorType member- Returns:
-