OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.utility.MutuallyExlusiveOptionsException Class Reference
+ Inheritance diagram for com.mapd.utility.MutuallyExlusiveOptionsException:
+ Collaboration diagram for com.mapd.utility.MutuallyExlusiveOptionsException:

Static Public Member Functions

static
MutuallyExlusiveOptionsException 
create (String errMsg, String[] strings)
 

Protected Member Functions

 MutuallyExlusiveOptionsException (String message)
 

Detailed Description

Definition at line 56 of file SQLImporter.java.

Constructor & Destructor Documentation

com.mapd.utility.MutuallyExlusiveOptionsException.MutuallyExlusiveOptionsException ( String  message)
inlineprotected

Definition at line 57 of file SQLImporter.java.

Referenced by com.mapd.utility.MutuallyExlusiveOptionsException.create().

57  {
58  super(message);
59  }

+ Here is the caller graph for this function:

Member Function Documentation

static MutuallyExlusiveOptionsException com.mapd.utility.MutuallyExlusiveOptionsException.create ( String  errMsg,
String[]  strings 
)
inlinestatic

Definition at line 61 of file SQLImporter.java.

References com.mapd.utility.MutuallyExlusiveOptionsException.MutuallyExlusiveOptionsException(), and Experimental.String.

61  {
62  StringBuffer sb = new StringBuffer(
63  "Mutually exclusive options used. " + errMsg + ". Options provided [");
64  for (String s : strings) {
65  sb.append(s);
66  sb.append(" ");
67  }
68  sb.setCharAt(sb.length() - 1, ']');
69  return new MutuallyExlusiveOptionsException(sb.toString());
70  }

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: