--- /dev/null 2015-11-23 01:27:16.425045507 +0300 +++ new/src/java.base/share/classes/java/lang/invoke/StringConcatException.java 2015-11-26 01:38:40.849627298 +0300 @@ -0,0 +1,26 @@ +package java.lang.invoke; + +/** + * StringConcatException is thrown by {@link StringConcatFactory} when linkage + * invariants are violated. + */ +public class StringConcatException extends Exception { + private static final long serialVersionUID = 292L + 9L; + + /** + * Constructs an exception with a message + * @param msg exception message + */ + public StringConcatException(String msg) { + super(msg); + } + + /** + * Constructs an exception with a message and a linked throwable + * @param msg exception message + * @param cause throwable cause + */ + public StringConcatException(String msg, Throwable cause) { + super(msg, cause); + } +}