Repository: incubator-reef Updated Branches: refs/heads/master afea0694b -> cb06c5120
[REEF-680] Remove Org.Apache.REEF.Driver.FailedJob This removes unused class Org.Apache.REEF.Driver.FailedJob JIRA: [REEF-680](https://issues.apache.org/jira/browse/REEF-680) Pull Request: Closes #461 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/cb06c512 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/cb06c512 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/cb06c512 Branch: refs/heads/master Commit: cb06c5120d17192b9a0bdbee92c244ef6add8f69 Parents: afea069 Author: Mariia Mykhailova <mar...@apache.org> Authored: Thu Sep 3 11:26:42 2015 -0700 Committer: Markus Weimer <wei...@apache.org> Committed: Thu Sep 3 18:14:22 2015 -0700 ---------------------------------------------------------------------- lang/cs/Org.Apache.REEF.Driver/FailedJob.cs | 51 -------------------- .../Org.Apache.REEF.Driver.csproj | 1 - 2 files changed, 52 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cb06c512/lang/cs/Org.Apache.REEF.Driver/FailedJob.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Driver/FailedJob.cs b/lang/cs/Org.Apache.REEF.Driver/FailedJob.cs deleted file mode 100644 index eccb0c2..0000000 --- a/lang/cs/Org.Apache.REEF.Driver/FailedJob.cs +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -using System; -using Org.Apache.REEF.Common.Api; -using Org.Apache.REEF.Utilities; - -namespace Org.Apache.REEF.Driver -{ - /// <summary> - /// An error message that REEF Client receives when there is a user error in REEF job. - /// </summary> - public class FailedJob : AbstractFailure - { - /// <summary> - /// Create an error message given the entity ID and Java Exception. All accessor methods are provided by the base class. - /// </summary> - /// <param name="id"></param> - /// <param name="cause"></param> - public FailedJob(string id, Exception cause) - : base(id, cause) - { - } - - public new string Id { get; set; } - - public new string Message { get; set; } - - public new Optional<string> Description { get; set; } - - public new Optional<Exception> Cause { get; set; } - - public new Optional<byte[]> Data { get; set; } - } -} http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cb06c512/lang/cs/Org.Apache.REEF.Driver/Org.Apache.REEF.Driver.csproj ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Driver/Org.Apache.REEF.Driver.csproj b/lang/cs/Org.Apache.REEF.Driver/Org.Apache.REEF.Driver.csproj index b38ae72..285275a 100644 --- a/lang/cs/Org.Apache.REEF.Driver/Org.Apache.REEF.Driver.csproj +++ b/lang/cs/Org.Apache.REEF.Driver/Org.Apache.REEF.Driver.csproj @@ -139,7 +139,6 @@ under the License. <Compile Include="Evaluator\IEvaluatorRequest.cs" /> <Compile Include="Evaluator\IEvaluatorRequestor.cs" /> <Compile Include="Evaluator\IFailedEvaluator.cs" /> - <Compile Include="FailedJob.cs" /> <Compile Include="IDriver.cs" /> <Compile Include="IDriverRestarted.cs" /> <Compile Include="IDriverStarted.cs" />