Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsFileNotFoundException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating the file or folder could not be
found. Thrown when a 404 error response code is returned (not found).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsRuntimeException(AdlsRemoteException):
"""A WebHDFS exception thrown when an unexpected error occurs during an
operation. Thrown when a 500 error response code is returned (Internal
server error).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsSecurityException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating that access is denied. Thrown when a
401 error response code is returned (Unauthorized).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsAccessControlException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating that access is denied due to
insufficient permissions. Thrown when a 403 error response code is
returned (forbidden).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsIOException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating there was an IO (read or write)
error. Thrown when a 403 error response code is returned (forbidden).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsIllegalArgumentException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating that one more arguments is
incorrect. Thrown when a 400 error response code is returned (bad
request).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .adls_remote_exception import AdlsRemoteException
class AdlsUnsupportedOperationException(AdlsRemoteException):
"""A WebHDFS exception thrown indicating that the requested operation is not
supported. Thrown when a 400 error response code is returned (bad
request).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar java_class_name: the full class package name for the exception
thrown, such as 'java.lang.IllegalArgumentException'.
:vartype java_class_name: str
:ivar message: the message associated with the exception that was thrown,
such as 'Invalid value for webhdfs parameter "permission":...'.
:vartype message: str
:param exception: Polymorphic Discriminator
:type exception: str
"""