blob: 376374a510d5a141b14cd86e881a86c82cf376ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.system;
/**
* Special error to be propagated when force-loading a class fails.
**/
@SuppressWarnings("serial")
public class ForceLoadError extends java.lang.Error {
/**
* Create a new force load error
*
* @param className full name of offending class
* @param cause what caused the failure
**/
public ForceLoadError(String className, Throwable cause) {
super("Force loading class '" + className + "' failed", cause);
}
}
|