Package org.wildfly.security.audit
Class SyslogAuditEndpoint.TransportErrorManager
- java.lang.Object
-
- java.util.logging.ErrorManager
-
- org.wildfly.security.audit.SyslogAuditEndpoint.TransportErrorManager
-
- Enclosing class:
- SyslogAuditEndpoint
private class SyslogAuditEndpoint.TransportErrorManager extends ErrorManager
-
-
Field Summary
Fields Modifier and Type Field Description private Exception
error
private org.jboss.logmanager.handlers.SyslogHandler.Protocol
transport
-
Fields inherited from class java.util.logging.ErrorManager
CLOSE_FAILURE, FLUSH_FAILURE, FORMAT_FAILURE, GENERIC_FAILURE, OPEN_FAILURE, WRITE_FAILURE
-
-
Constructor Summary
Constructors Constructor Description TransportErrorManager(org.jboss.logmanager.handlers.SyslogHandler.Protocol transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(String msg, Exception ex, int code)
(package private) void
getAndThrowError()
(package private) void
throwAsIoOrRuntimeException(Throwable t)
-
-
-
Field Detail
-
error
private volatile Exception error
-
transport
private org.jboss.logmanager.handlers.SyslogHandler.Protocol transport
-
-
Method Detail
-
error
public void error(String msg, Exception ex, int code)
- Overrides:
error
in classErrorManager
-
getAndThrowError
void getAndThrowError() throws IOException
- Throws:
IOException
-
throwAsIoOrRuntimeException
void throwAsIoOrRuntimeException(Throwable t) throws IOException
- Throws:
IOException
-
-