# BuildMethodException

> Create a new BuildMethodException.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## BuildMethodException()

Create a new BuildMethodException.

```csharp
public BuildMethodException()
```

## BuildMethodException(string)

Create a new BuildMethodException.

```csharp
public BuildMethodException(string message)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Display this message as an error in the editor log.
