Lines Matching refs:throwable
35 public static SQLException toUnoException(Object source, Throwable throwable) { in toUnoException() argument
41 Throwable cause = throwable.getCause(); in toUnoException()
44 unoCause = toUnoException(source, throwable); in toUnoException()
46 if (throwable instanceof SQLException) { in toUnoException()
47 return (SQLException)throwable; in toUnoException()
48 } else if (throwable instanceof java.sql.SQLException) { in toUnoException()
49 java.sql.SQLException sqlException = (java.sql.SQLException) throwable; in toUnoException()
52 } else if (throwable instanceof com.sun.star.uno.Exception) { in toUnoException()
54 com.sun.star.uno.Exception exception = (com.sun.star.uno.Exception) throwable; in toUnoException()
59 String message = throwable.getMessage(); in toUnoException()
61 message = throwable.getLocalizedMessage(); in toUnoException()
64 message = throwable.toString(); in toUnoException()
70 …ception toUnoExceptionLogged(Object source, ResourceBasedEventLogger logger, Throwable throwable) { in toUnoExceptionLogged() argument
72 SQLException exception = toUnoException(source, throwable); in toUnoExceptionLogged()