Documentation ¶
Index ¶
- Constants
- type Exception
- type IllegalArgumentException
- type IllegalStateException
- type NullPointerException
- type RuntimeException
- func NewRuntimeException() *RuntimeException
- func NewRuntimeException1(message string) *RuntimeException
- func NewRuntimeException2(message string, cause ThrowableInterface) *RuntimeException
- func NewRuntimeException4(message string, cause *Throwable, enableSuppression, writableStackTrace bool) *RuntimeException
- type Serializable
- type Throwable
- func (thiz *Throwable) AddSuppressed(exception ThrowableInterface)
- func (thiz *Throwable) Error() string
- func (thiz *Throwable) GetCause() ThrowableInterface
- func (thiz *Throwable) GetLocalizedMessage() string
- func (thiz *Throwable) GetMessage() string
- func (thiz *Throwable) GetOurStackTrace() []byte
- func (thiz *Throwable) GetStackTrace() []byte
- func (thiz *Throwable) GetSuppressed() []ThrowableInterface
- func (thiz *Throwable) InitCause(cause ThrowableInterface) ThrowableInterface
- func (thiz *Throwable) PrintStackTrace()
- func (thiz *Throwable) PrintStackTrace1(writer io.Writer)
- func (thiz *Throwable) SetStackTrace(trace []byte)
- func (thiz *Throwable) ToString() string
- type ThrowableInterface
Constants ¶
View Source
const ( /** Message for trying to suppress a null exception. */ NullCauseMessage string = "Cannot suppress a null exception." /** Message for trying to suppress oneself. */ SelfSuppressionMessage string = "Self-suppression not permitted" /** Caption for labeling causative exception stack traces */ CauseCaption string = "Caused by: " /** Caption for labeling suppressed exception stack traces */ SuppressedCaption string = "Suppressed: " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exception ¶
type Exception struct {
*Throwable
}
func NewException ¶
func NewException() *Exception
func NewException1 ¶
func NewException2 ¶
func NewException2(message string, cause ThrowableInterface) *Exception
type IllegalArgumentException ¶
type IllegalArgumentException struct {
*RuntimeException
}
func NewIllegalArgumentException ¶
func NewIllegalArgumentException() *IllegalArgumentException
func NewIllegalArgumentException1 ¶
func NewIllegalArgumentException1(message string) *IllegalArgumentException
func NewIllegalArgumentException2 ¶
func NewIllegalArgumentException2(message string, cause ThrowableInterface) *IllegalArgumentException
type IllegalStateException ¶
type IllegalStateException struct {
*RuntimeException
}
func NewIllegalStateException ¶
func NewIllegalStateException() *IllegalStateException
func NewIllegalStateException1 ¶
func NewIllegalStateException1(message string) *IllegalStateException
func NewIllegalStateException2 ¶
func NewIllegalStateException2(message string, cause ThrowableInterface) *IllegalStateException
type NullPointerException ¶
type NullPointerException struct {
*Exception
}
type RuntimeException ¶
type RuntimeException struct {
*Exception
}
func NewRuntimeException ¶
func NewRuntimeException() *RuntimeException
func NewRuntimeException1 ¶
func NewRuntimeException1(message string) *RuntimeException
func NewRuntimeException2 ¶
func NewRuntimeException2(message string, cause ThrowableInterface) *RuntimeException
func NewRuntimeException4 ¶
func NewRuntimeException4(message string, cause *Throwable, enableSuppression, writableStackTrace bool) *RuntimeException
type Serializable ¶
type Serializable interface { }
type Throwable ¶
type Throwable struct {
// contains filtered or unexported fields
}
func NewThrowable ¶
func NewThrowable() *Throwable
func NewThrowable1 ¶
func NewThrowable2 ¶
func NewThrowable2(message string, cause ThrowableInterface) *Throwable
func NewThrowable4 ¶
func (*Throwable) AddSuppressed ¶
func (thiz *Throwable) AddSuppressed(exception ThrowableInterface)
func (*Throwable) GetCause ¶
func (thiz *Throwable) GetCause() ThrowableInterface
func (*Throwable) GetLocalizedMessage ¶
func (*Throwable) GetMessage ¶
func (*Throwable) GetOurStackTrace ¶
func (*Throwable) GetStackTrace ¶
func (*Throwable) GetSuppressed ¶
func (thiz *Throwable) GetSuppressed() []ThrowableInterface
func (*Throwable) InitCause ¶
func (thiz *Throwable) InitCause(cause ThrowableInterface) ThrowableInterface
func (*Throwable) PrintStackTrace ¶
func (thiz *Throwable) PrintStackTrace()
func (*Throwable) PrintStackTrace1 ¶
func (*Throwable) SetStackTrace ¶
type ThrowableInterface ¶
type ThrowableInterface interface { GetMessage() string GetLocalizedMessage() string GetCause() ThrowableInterface InitCause(cause ThrowableInterface) ThrowableInterface ToString() string PrintStackTrace() PrintStackTrace1(writer io.Writer) GetSuppressed() []ThrowableInterface GetStackTrace() []byte Error() string // contains filtered or unexported methods }
func NewNullPointerException ¶
func NewNullPointerException(message string) ThrowableInterface
Click to show internal directories.
Click to hide internal directories.