fixed some exceptions

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:41 +02:00
1 parent 94bd951a43
commit 7525b96ba1
6 files changed
+129 -123

No files matched your search

@@ -19,6 +19,8 @@ class FaultException extends Exception
return new CouldNotWritePlaylistFileException($faultString, $faultCode);
case 'Start index out of bound.':
return new StartIndexOutOfBoundException($faultString, $faultCode);
case 'Not in script mode.':
return new NotInScriptModeException($faultString, $faultCode);
}
return new self($faultString, $faultCode);
@@ -28,4 +30,5 @@ class FaultException extends Exception
class LoginUnknownException extends FaultException {}
class CouldNotWritePlaylistFileException extends FaultException {}
class StartIndexOutOfBoundException extends FaultException {}
class NotInScriptModeException extends FaultException {}
?>