提交 7b50b589 编写于 作者: K Kohsuke Kawaguchi

don't alarm the user by showing an exception

上级 dfc2f57d
......@@ -41,6 +41,12 @@ import java.util.logging.Logger;
* @see Computer#getWorkspaceList()
*/
public final class WorkspaceList {
private static final class AllocationAt extends Exception {
@Override
public String toString() {
return "Allocation Point";
}
}
/**
* Book keeping for workspace allocation.
*/
......@@ -58,7 +64,7 @@ public final class WorkspaceList {
/**
* From where?
*/
public final Exception source = new Exception();
public final Exception source = new AllocationAt();
/**
* True makes the caller of {@link WorkspaceList#allocate(FilePath)} wait
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册