The supertype of all exceptions. A subclass represents a more specific kind of problem, and may define additional attributes which propagate information about problems of that kind.
Initializer |
Exception(String? description = null, Exception? cause = null) Parameters:
|
Attributes | |
cause | Source Code shared Exception? cause The underlying cause of this exception. |
message | Source Code shared default String message A message describing the problem. This default implementation returns the description, if any, or otherwise the message of the cause, if any. See also: cause |
string | Source Code shared actual default String string A developer-friendly string representing the
instance. Concatenates the name of the concrete
class of the instance with the Refined declaration: string |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
printStackTrace | Source Code shared void printStackTrace() Print the stack trace to the standard error of the virtual machine process. See also: ceylon.language::printStackTrace |
Inherited Methods |
Methods inherited from: Object |