public class CSSException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CSSException.ErrorCode
Enum for error codes.
|
| Constructor and Description |
|---|
CSSException()
Creates a new CSSException.
|
CSSException(CSSException.ErrorCode code)
Creates a new CSSException with a specific code.
|
CSSException(CSSException.ErrorCode code,
String message,
Exception e)
Creates a new CSSException with an embeded exception and a specified
message.
|
CSSException(Exception e)
Creates a new CSSException with an embeded exception.
|
CSSException(String message)
Creates a new CSSException.
|
| Modifier and Type | Method and Description |
|---|---|
CSSException.ErrorCode |
getCode() |
String |
getMessage()
Returns the detail message of this throwable object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CSSException()
public CSSException(String message)
message - the messagepublic CSSException(Exception e)
e - the embeded exception.public CSSException(CSSException.ErrorCode code)
code - a the embeded exception.public CSSException(CSSException.ErrorCode code, String message, Exception e)
code - the specified codemessage - the messagee - the embeded exceptionpublic String getMessage()
getMessage in class Throwablepublic CSSException.ErrorCode getCode()
Copyright © 2023. All rights reserved.