public class FdkExceptionMapper extends Object
| Constructor and Description | 
|---|
FdkExceptionMapper(Throwable cause)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Throwable | 
getCause()
Returns the cause exception. 
 | 
String | 
getDetailedErrorCode()
Returns the mapped error code. 
 | 
FdkExceptionEntry[] | 
getEntries()
Returns the exception entries if the cause exception was an aggregate
 exception. 
 | 
String | 
getErrorCode()
Returns the mapped error code. 
 | 
Map | 
getInfo()
Returns the additional information extracted from the cause exception. 
 | 
Throwable | 
getMappedException()
Returns the actual Throwable that the error code was mapped from. 
 | 
boolean | 
isSevere()
Returns true if the mapper decides the cause is a severe error
 from which the client cannot recover. 
 | 
static String | 
toMainErrorCode(String detailedErrorCode)
Maps a detailed error code to a main error code. 
 | 
public FdkExceptionMapper(Throwable cause)
cause - The Throwable to map.public static String toMainErrorCode(String detailedErrorCode)
detailedErrorCode - The detailed error code to map to a main
                          error code.public String getErrorCode()
public String getDetailedErrorCode()
public Throwable getCause()
public Throwable getMappedException()
public Map getInfo()
null.public FdkExceptionEntry[] getEntries()
public boolean isSevere()
Copyright © 2025. All rights reserved.