OmniSciDB  c07336695a
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

◆ MutuallyExlusiveOptionsException()

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

Definition at line 57 of file SQLImporter.java.

57  {
58  super(message);
59  }

Member Function Documentation

◆ create()

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

Definition at line 61 of file SQLImporter.java.

References Experimental.String.

Referenced by com.mapd.utility.SQLImporter_args.parse().

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 caller graph for this function:

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