brokenbarrierexception.java
来自「SRI international 发布的OAA框架软件」· Java 代码 · 共 39 行
JAVA
39 行
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/licenses/publicdomain
*/
package edu.emory.mathcs.backport.java.util.concurrent;
/**
* Exception thrown when a thread tries to wait upon a barrier that is
* in a broken state, or which enters the broken state while the thread
* is waiting.
*
* @see CyclicBarrier
*
* @since 1.5
* @author Doug Lea
*
*/
public class BrokenBarrierException extends Exception {
private static final long serialVersionUID = 7117394618823254244L;
/**
* Constructs a <tt>BrokenBarrierException</tt> with no specified detail
* message.
*/
public BrokenBarrierException() {}
/**
* Constructs a <tt>BrokenBarrierException</tt> with the specified
* detail message.
*
* @param message the detail message
*/
public BrokenBarrierException(String message) {
super(message);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?