当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
NestedExceptionUtils (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.core
Class NestedExceptionUtils
java.lang.Object
org.springframework.core.NestedExceptionUtils
public abstract class NestedExceptionUtils
- extends Object
Helper class for implementing exception classes which are capable of
holding nested exceptions. Necessary because we can't share a base
class among different exception types.
Mainly for use within the framework.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
NestedRuntimeException
,
NestedCheckedException
,
NestedIOException
,
NestedServletException
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedExceptionUtils
public NestedExceptionUtils()
buildMessage
public static String buildMessage(String message,
Throwable cause)
- Build a message for the given base message and root cause.
- Parameters:
message
- the base messagecause
- the root cause
- Returns:
- the full exception message
Copyright © 2002-2007 The Spring Framework.