AdminException
872873874875876877878879880881882
dest = new TemporaryTopic(id, null); } else { dest = new Topic(id); } } else { throw new AdminException("Unknown destination type (" + type + ')'); } dest.adminName = name; return dest; }
698699700701702703704705
} } catch (ConnectException exc) { if (isActive) adminDurationState = System.currentTimeMillis(); isActive = false; throw new AdminException("Admin connection can't be established: " + exc.getMessage()); } }
15691570157115721573157415751576
dest.delete(); unbind(name); } catch (Exception exc) { logger.log(BasicLevel.WARN, "removeDestination failed: " + name, exc); throw new AdminException("removeDestination(" + name + ") failed."); } }