+ "See the log for more details.");
}
}
else if (inner instanceof ServiceCallException)
{
ServiceCallException serviceError = (ServiceCallException) inner;
if (serviceError.getReason() == ServiceCallException.Reason.AUTHENTICATION)
{
System.out.println("There was an authentication error connecting to Exchange or HBase. "
+ "See the log for more details.");
}
else if (serviceError.getReason() == ServiceCallException.Reason.SOAP)
{
System.out.println("There was a SOAP error connecting to Exchange: "
+ serviceError.getSoapError().toString() + " See the log for more details.");
}
else
{
System.out.println("There was an unknown error connecting to Exchange or HBase. "
+ "See the log for more details.");