public class ThrowingExceptionBean extends Object
Modifier | Constructor and Description |
---|---|
|
ThrowingExceptionBean() |
|
ThrowingExceptionBean(RuntimeException e)
Rethrows the exception that is passed in.
|
protected |
ThrowingExceptionBean(Short s) |
Modifier and Type | Method and Description |
---|---|
int |
getExceptionIndexed(int index) |
RuntimeException |
getExceptionMapped(String key) |
String |
getExceptionProperty() |
protected int |
getProtectedIndexed(int index) |
protected String |
getProtectedMapped(String key) |
protected String |
getProtectedProperty() |
void |
setExceptionIndexed(int index,
RuntimeException e) |
void |
setExceptionMapped(String key,
RuntimeException e) |
void |
setExceptionProperty(String string) |
protected void |
setProtectedIndexed(int index,
int value) |
protected void |
setProtectedMapped(String key,
String value) |
protected void |
setProtectedProperty() |
static void |
staticException(String message) |
public ThrowingExceptionBean()
public ThrowingExceptionBean(RuntimeException e)
e
- The exception to throwprotected ThrowingExceptionBean(Short s)
public String getExceptionProperty()
public void setExceptionProperty(String string)
protected String getProtectedProperty()
protected void setProtectedProperty()
public int getExceptionIndexed(int index)
public void setExceptionIndexed(int index, RuntimeException e)
protected int getProtectedIndexed(int index)
protected void setProtectedIndexed(int index, int value)
public RuntimeException getExceptionMapped(String key)
public void setExceptionMapped(String key, RuntimeException e)
protected String getProtectedMapped(String key)
protected void setProtectedMapped(String key, String value)
public static void staticException(String message)
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.