Skip to content

Commit

Permalink
sync with beast2 exception overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Feb 22, 2016
1 parent 04c0e63 commit 74f6615
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public double[] getOptimalValue(Node node) {

/** loggable implementation **/
@Override
public void init(PrintStream out) throws Exception {
public void init(PrintStream out) {
out.print(getID() + ".joint\t" + getID() + ".data\t");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private String getLocationString(int i) {
}

@Override
public void init(PrintStream out) throws Exception {
public void init(PrintStream out) {
String mainID = (getID() == null || getID().matches("\\s*"))
? "geoSubstModel"
: getID();
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/tree/RootTrait.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public double getArrayValue(int iDim) {
}

@Override
public void init(PrintStream out) throws Exception {
public void init(PrintStream out) {
String id = getID();
if (id == null) {
id = "RootTrait";
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/tree/TreeWithTraitLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void initAndValidate() {
}

@Override
public void init(PrintStream out) throws Exception {
public void init(PrintStream out) {
m_tree.get().init(out);
}

Expand Down

0 comments on commit 74f6615

Please sign in to comment.