Table of Contents

Class InvalidBlobFilePathException

Namespace
YndigoBlue.Velocity.Exceptions
Assembly
YndigoBlue.Velocity.dll

Thrown when a file-based blob column's resolved file path falls outside the data file's directory.

[Serializable]
public class InvalidBlobFilePathException : Exception, ISerializable
Inheritance
InvalidBlobFilePathException
Implements

Remarks

File-based blob import/export paths are built by substituting row values into a configured FilePathPattern. This exception guards against a substituted value (e.g. containing .. path segments or an absolute path) causing the resolved path to escape the intended base directory.

Constructors

InvalidBlobFilePathException()

Initializes a new instance of the InvalidBlobFilePathException class.

InvalidBlobFilePathException(string)

Initializes a new instance of the InvalidBlobFilePathException class with a specified error message.

Properties

BaseDirectory

Gets or sets the base directory the resolved path was required to stay within.

ResolvedPath

Gets or sets the resolved file path that fell outside the allowed base directory.