Subject | Re: [Firebird-Java] Exceptions on FBBackupManager |
---|---|
Author | Roman Rokytskyy |
Post date | 2009-01-16T12:12:19Z |
> My problem is that if something goes wrong - for instance, if theRather expected behaviour... Issue is that the driver throws exceptions
> database I'm trying to replace is in use - the restoreDatabase()
> method doesn't throw any exception - I can only see that it went wrong
> on the console.
> Is this a bug or the expected behaviour?
when error is returned from the server. But in this case server does not
return any error - what you see is the copy of the stdout of the gbak
that is running on the server...
In order to throw exceptions one would need to parse the output. This is
not implemented yet.
Roman