public abstract class

NestedExceptionUtils

extends Object
java.lang.Object
   ↳ org.springframework.core.NestedExceptionUtils

Class Overview

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.

Summary

Public Constructors
NestedExceptionUtils()
Public Methods
static String buildMessage(String message, Throwable cause)
Build a message for the given base message and root cause.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NestedExceptionUtils ()

Also: SpringCore

Public Methods

public static String buildMessage (String message, Throwable cause)

Also: SpringCore

Build a message for the given base message and root cause.

Parameters
message the base message
cause the root cause
Returns
  • the full exception message