public class CSException
extends java.lang.Exception
CSException
class and its subclasses handle error conditions which a reasonable iCM application
might want to catch.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NO_MSG
The no-message message.
|
Constructor and Description |
---|
CSException()
Extension of the generic Exception
|
CSException(java.lang.String msg)
Extension of the generic Exception
|
CSException(java.lang.String msg,
java.lang.Throwable ex)
Extension of the generic Exception
|
CSException(java.lang.Throwable ex)
Extension of the generic Exception
|
Modifier and Type | Method and Description |
---|---|
CSException |
setThrowOn(boolean on)
Sets the flag used to signal to catch blocks that this instance shouldn't be handled now, but should be thrown
on.
|
boolean |
throwOn()
Gets the flag used to signal to catch blocks that this instance shouldn't be handled now, but should be thrown
on.
|
public static final java.lang.String NO_MSG
public CSException()
public CSException(java.lang.String msg)
msg
- -
the exception messagepublic CSException(java.lang.Throwable ex)
ex
- -
The Throwable that caused this CSException to be thrownpublic CSException(java.lang.String msg, java.lang.Throwable ex)
msg
- -
the exception messageex
- -
The Throwable that caused this CSException to be thrownpublic boolean throwOn()
true
if this instance shouldn't be handled nowpublic CSException setThrowOn(boolean on)
on
- true
if this instance shouldn't be handled by any catch block checking this flagthis
Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.