case INCOMING_HORIZONTAL_EDGE:
return fIncomingHorizontal;
default:
- throw new IllegalStateException();
+ throw new IllegalStateException("Unknown edge direction type : " + dir); //$NON-NLS-1$
}
}
fIncomingHorizontal = null;
break;
default:
- throw new IllegalStateException();
+ throw new IllegalStateException("Unknown edge direction type : " + dir); //$NON-NLS-1$
}
}
case INCOMING_HORIZONTAL_EDGE:
return edge.getVertexFrom();
default:
- throw new IllegalStateException();
+ throw new IllegalStateException("Unknown edge direction type : " + dir); //$NON-NLS-1$
}
}