Start of layer with custom exception