public class MetawidgetException extends RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
MetawidgetException(String message) |
protected |
MetawidgetException(String message,
Throwable cause) |
protected |
MetawidgetException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static MetawidgetException |
newException(String message)
Static constructor.
|
static MetawidgetException |
newException(String message,
Throwable cause)
Static constructor.
|
static MetawidgetException |
newException(Throwable cause)
Static constructor.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected MetawidgetException(String message)
protected MetawidgetException(Throwable cause)
public static MetawidgetException newException(Throwable cause)
Using static constructor methods prevents unnecessarily nesting MetawidgetExceptions within MetawidgetExceptions.
public static MetawidgetException newException(String message)
For consistency with MetawidgetException.newException( Throwable )
.
public static MetawidgetException newException(String message, Throwable cause)
For consistency with MetawidgetException.newException( Throwable )
.
Copyright © 2015. All Rights Reserved.