add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.dobbinsoft.fw.launcher.exception;
 
import com.dobbinsoft.fw.core.exception.ServiceException;
import org.springframework.stereotype.Component;
 
@Component
public class DefaultOtherExceptionTransfer implements OtherExceptionTransfer<Exception> {
 
    @Override
    public ServiceException trans(Exception e) {
        return new LauncherServiceException(LauncherExceptionDefinition.LAUNCHER_UNKNOWN_EXCEPTION);
    }
 
    @Override
    public Class getExceptionClass() {
        return Exception.class;
    }
}