public class ExceptionThrowerFactory extends Object
| Constructor and Description |
|---|
ExceptionThrowerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ExceptionThrower |
instance(Class<? extends RuntimeException> classType)
Return specify exception type singleton exceptionThrower.
|
public static ExceptionThrower instance(Class<? extends RuntimeException> classType)
classType - the exception you want to use to thrower.Copyright © 2014. All rights reserved.