Class P2PClassLoadingIssues
- java.lang.Object
-
- org.apache.ignite.internal.managers.deployment.P2PClassLoadingIssues
-
public class P2PClassLoadingIssues extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TrethrowDisarmedP2PClassLoadingFailure(NoClassDefFoundError error)If the given error is related to p2p class-loading, it's converted toIgniteExceptionand rethrown; otherwise, the original error is rethrown.static P2PClassNotFoundExceptionwrapWithP2PFailure(NoClassDefFoundError e)Wraps specific exception.
-
-
-
Method Detail
-
rethrowDisarmedP2PClassLoadingFailure
public static <T> T rethrowDisarmedP2PClassLoadingFailure(NoClassDefFoundError error)
If the given error is related to p2p class-loading, it's converted toIgniteExceptionand rethrown; otherwise, the original error is rethrown.- Type Parameters:
T- declared return type- Parameters:
error- error to check- Returns:
- this method never returns normally, it always throws something
-
wrapWithP2PFailure
public static P2PClassNotFoundException wrapWithP2PFailure(NoClassDefFoundError e)
Wraps specific exception.- Parameters:
e- Exception to be wrapped.
-
-