Package net.snowflake.ingest.connection
Class IngestResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.snowflake.ingest.connection.IngestResponseException
-
- All Implemented Interfaces:
Serializable
public class IngestResponseException extends Exception
Exception will capture error message when Snowflake encounters an error during ingest or if trying to retrieve history report/ Created by vganesh on 5/20/17.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IngestResponseException.IngestExceptionBody
Response exception REST message body sent back from Snowflake
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestResponseException.IngestExceptionBody
getErrorBody()
Getter for error bodyint
getErrorCode()
Getter for error codeString
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
Getter for error code- Returns:
- int errorCode
-
getErrorBody
public IngestResponseException.IngestExceptionBody getErrorBody()
Getter for error body- Returns:
- IngestExceptionBody errorBody
-
-