You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
776 B
C#
33 lines
776 B
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace UnrealBuildTool
|
|
{
|
|
public class ModuleProcessingException : Exception
|
|
{
|
|
public ModuleProcessingException(UEBuildModule Module, Exception InnerException):
|
|
base( string.Format("Exception thrown while processing dependent modules of {0}", Module.Name), InnerException )
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
// Our build exceptions do not show the callstack so they are more friendly to users.
|
|
if (!string.IsNullOrEmpty(Message))
|
|
{
|
|
var Result = Message;
|
|
if (InnerException != null)
|
|
{
|
|
Result += '\n' + InnerException.ToString();
|
|
}
|
|
return Result;
|
|
}
|
|
|
|
return base.ToString();
|
|
}
|
|
};
|
|
}
|