oracle.repos.services.file
Class FileServiceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--oracle.repos.services.file.FileServiceException
- public class FileServiceException
- extends IOException
This class holds generic exceptions encountered by the FileService and any
corresponding CWException (Repository specific error). The underlying system exception
(whatever caused the error -- e.g. SQLException, IOException, etc) is used to populate the
error message text and a corresponding CWException is added, indicating the Repository
process that failed.
- See Also:
- Serialized Form
| Method Summary |
CWException |
getCWException()
Return the CWException
associated with this FileServiceException. |
Exception |
getException()
Return the generic exception
that caused this FileServiceException to be generated. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace,
printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getCWException
public CWException getCWException()
- Return the CWException associated with this FileServiceException. NOTE: The CWException
could be an oracle.repos.services.ReposServiceException if it was a server error. *SO* if
you want to get SQL error details, you should see if the returned exception is a
ReposServiceException, and cast to this, to recover SQL errors. i.e. if
(ReposServiceException.class.isInstance(getCWException())
((ReposServiceException)getCWException()). You can ignore this if you are only interested
in the CWException.
getException
public Exception getException()
- Return the generic exception that caused this FileServiceException to be generated. May
be null if: The original exception was an IOException, it was a server error (converted to
CWException), or the object was constructed with a CWException.
|
BM0463 - JR0670 - JDev446 |
|
|
| SUMMARY:
INNER | FIELD | CONSTR | METHOD |
DETAIL:
FIELD | CONSTR | METHOD |