Commit 3b027cab authored by ludwig's avatar ludwig

error handling bugfix

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@77 0463f305-d864-43cb-8a47-61cf597d4139
parent 726d5c72
......@@ -149,11 +149,20 @@ public class AudioVideoPlayer {
}
public String getAudioFilename() throws IOException {
if(fileAudio != null){
return fileAudio.getCanonicalPath();
}
else{
return null;
}
}
public String getVideoFilename() throws IOException {
return fileVideo.getCanonicalPath();
if(fileVideo != null){
return fileVideo.getCanonicalPath();}
else{
return null;}
}
public void close() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment