Ejemplo n.º 1
0
 internal static void ResourceNotFound(Content content, string propertyName)
 {
     throw new ODataException(SNSR.GetString(SNSR.Exceptions.OData.ResourceNotFound_2, content.Path, propertyName), ODataExceptionCode.ResourceNotFound);
 }
Ejemplo n.º 2
0
 internal static void ResourceNotFound()
 {
     throw new ODataException(SNSR.GetString(SNSR.Exceptions.OData.ResourceNotFound), ODataExceptionCode.ResourceNotFound);
 }
Ejemplo n.º 3
0
 internal static void ContentAlreadyExists(string path)
 {
     throw new ODataException(SNSR.GetString(SNSR.Exceptions.OData.ContentAlreadyExists_1, path), ODataExceptionCode.ContentAlreadyExists);
 }