Issue#27 removed getCause management
This commit is contained in:
parent
3390335269
commit
f3bcf8e9f7
@ -177,10 +177,6 @@ public class SibaCLI
|
||||
{
|
||||
System.err.println("SibaException = " + exception.getMessage());
|
||||
logger.error(exception.getMessage(), exception);
|
||||
if (exception.getCause() != null)
|
||||
{
|
||||
logger.error("SibaException chainée = " + exception.getCause().getMessage());
|
||||
}
|
||||
help();
|
||||
}
|
||||
}
|
||||
|
@ -193,10 +193,6 @@ public class BackupPanel extends JPanel
|
||||
catch (SibaException exception)
|
||||
{
|
||||
String dataMissing = exception.getMessage();
|
||||
if (exception.getCause() != null)
|
||||
{
|
||||
dataMissing = dataMissing.concat(exception.getCause().getMessage());
|
||||
}
|
||||
|
||||
String titleWarning = BUNDLE.getString("BackupPanel.TitleWarning.text");
|
||||
JOptionPane.showMessageDialog(BackupPanel.this, dataMissing, titleWarning,
|
||||
|
@ -315,10 +315,6 @@ public class SibaGUI
|
||||
{
|
||||
logger.error("SibaException ", exception);
|
||||
String dataMissing = exception.getMessage();
|
||||
if (exception.getCause() != null)
|
||||
{
|
||||
logger.info("SibaException chainée = " + exception.getCause().getMessage());
|
||||
}
|
||||
String titleWarning = BUNDLE.getString("BackupPanel.TitleWarning.text");
|
||||
JOptionPane.showMessageDialog(null, dataMissing, titleWarning, JOptionPane.INFORMATION_MESSAGE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user