public class CSNotFoundException extends CSException
CSNotFoundException
class handles error conditions which arise when attempting to retrieve an item
that cannot be located on the database using the supplied key information. For example, when attempting to retrieve
article details using an article ID that is invalid.
NO_MSG
Constructor and Description |
---|
CSNotFoundException()
Creates an empty
CSNotFoundException object. |
CSNotFoundException(java.lang.String s)
Creates a
CSNotFoundException object specifying the associated error message. |
CSNotFoundException(java.lang.String s,
java.lang.Throwable ex)
Creates a
CSNotFoundException object specifying the associated error message, and chaining a
preceding exception. |
CSNotFoundException(java.lang.Throwable ex)
Creates a
CSNotFoundException object, chaining a preceding exception. |
setThrowOn, throwOn
public CSNotFoundException()
CSNotFoundException
object.public CSNotFoundException(java.lang.String s)
CSNotFoundException
object specifying the associated error message.s
- error message describing the problem.public CSNotFoundException(java.lang.String s, java.lang.Throwable ex)
CSNotFoundException
object specifying the associated error message, and chaining a
preceding exception.s
- error message describing the problem.ex
- previous exception that caused this exception to be createdpublic CSNotFoundException(java.lang.Throwable ex)
CSNotFoundException
object, chaining a preceding exception.ex
- previous exception that caused this exception to be createdCopyright © 2022 Goss Interactive Ltd. All Rights Reserved.