org.apache.hadoop.lib.lang
Interface XException.ERROR

All Known Implementing Classes:
DelegationTokenManagerException.ERROR, FileSystemAccessException.ERROR, ProxyUserService.ERROR, ServerException.ERROR
Enclosing class:
XException

public static interface XException.ERROR

Interface to define error codes.


Method Summary
 String getTemplate()
          Returns the template for the error.
 

Method Detail

getTemplate

String getTemplate()
Returns the template for the error.

Returns:
the template for the error, the template must be in JDK MessageFormat syntax (using {#} positional parameters).


Copyright © 2014 Apache Software Foundation. All Rights Reserved.