Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Expose only getters for Exception fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroop-sridhar committed Jun 18, 2019
1 parent 57d5072 commit ff295f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ namespace Microsoft.NET.HostModel.AppHost
/// </summary>
public class AppNameTooLongException : AppHostUpdateException
{
public string LongName;
public string LongName { get; }
public AppNameTooLongException(string name)
{
LongName = name;
}

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ namespace Microsoft.NET.HostModel.AppHost
/// </summary>
public class AppUpdatePlaceHolderNotFoundException : AppHostUpdateException
{
public byte[] MissingPattern;

public byte[] MissingPattern { get; }
public AppUpdatePlaceHolderNotFoundException(byte[] pattern)
{
MissingPattern = pattern;
Expand Down

0 comments on commit ff295f5

Please sign in to comment.