public class ExceptionHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static HFMException |
convertToHFMException(THFMException thfmException)
Should be used to convert the THFMException into HFMException.
|
static THFMException |
convertToThriftException(HFMException hfmException)
Should be used to convert the HFMException into THFMException.
|
static void |
handleException(Exception exception)
This is generic method to handle exception for each OM call.
|
public static void handleException(Exception exception) throws HFMException
exception - HFMExceptionpublic static THFMException convertToThriftException(HFMException hfmException)
hfmException - public static HFMException convertToHFMException(THFMException thfmException)
thfmException - Copyright 2007, 2026, Oracle. All rights reserved.